home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / addins / cmdwnd / msdevcmd / msdevcmddlg.h < prev    next >
C/C++ Source or Header  |  1998-04-02  |  2KB  |  61 lines

  1. // msdevcmdDlg.h : header file
  2. //
  3.  
  4. #if !defined(AFX_MSDEVCMDDLG_H__B772028D_B6B0_11D1_8320_00A0C91BC942__INCLUDED_)
  5. #define AFX_MSDEVCMDDLG_H__B772028D_B6B0_11D1_8320_00A0C91BC942__INCLUDED_
  6.  
  7. #if _MSC_VER > 1000
  8. #pragma once
  9. #endif // _MSC_VER > 1000
  10.  
  11. #include "CmdEdit.h"
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CMsdevcmdDlg dialog
  15.  
  16. class CMsdevcmdDlg : public CDialog
  17. {
  18. // Construction
  19. public:
  20.     CMsdevcmdDlg(CWnd* pParent = NULL);    // standard constructor
  21.     ~CMsdevcmdDlg();
  22.     void Pin(BOOL fPin, BOOL fShow = TRUE);
  23.  
  24. // Dialog Data
  25.     //{{AFX_DATA(CMsdevcmdDlg)
  26.     enum { IDD = IDD_MSDEVCMD_DIALOG };
  27.     CButton    m_ctlBtnPinned;
  28.     CCmdEdit    m_ctlEditCmd;
  29.     //}}AFX_DATA
  30.  
  31.     // ClassWizard generated virtual function overrides
  32.     //{{AFX_VIRTUAL(CMsdevcmdDlg)
  33.     protected:
  34.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Implementation
  38. protected:
  39.     CBitmap m_bmNotPinned;
  40.     CBitmap m_bmPinned;
  41.     BOOL m_fTopMost;
  42.     HICON m_hIcon;
  43.  
  44.     // Generated message map functions
  45.     //{{AFX_MSG(CMsdevcmdDlg)
  46.     virtual BOOL OnInitDialog();
  47.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  48.     afx_msg void OnPaint();
  49.     afx_msg HCURSOR OnQueryDragIcon();
  50.     afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
  51.     afx_msg void OnSize(UINT nType, int cx, int cy);
  52.     afx_msg void OnBtnPin();
  53.     //}}AFX_MSG
  54.     DECLARE_MESSAGE_MAP()
  55. };
  56.  
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  59.  
  60. #endif // !defined(AFX_MSDEVCMDDLG_H__B772028D_B6B0_11D1_8320_00A0C91BC942__INCLUDED_)
  61.