⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bench1.wmc

📁 WIN32高级程序设计书附源码
💻 WMC
字号:
//Filename: BENCH1.WMC                                      
//"NTHELL" Generated by WindowsMAKER Professional           
//Author: Martin Heller                                     

// 
// ***********************************************************************
// Do not add code here. Add code in the .CPP file.
// 
// This file is maintained by WindowsMAKER Professional.
// As you make changes in your application using WindowsMAKER Professional,
// this file is automatically updated, therefore you never modify this file.
// This file may contain
//       * Functions and message maps for WindowsMAKER dialog box base classes
// 
// For more information, see the section "How code is generated" 
// in the documentation.
// ***********************************************************************
// 
// Classes:
//         WindowsMAKER dialog box base classes (if any placed here).
// 
// 
// ---------------- 
// |  MFC CLASS   | 
// |              | 
// ---------------- 
//        | 
// ---------------- 
// | WindowsMAKER | 
// | Common Class |  
// ---------------- 
//        | 
// ---------------- 
// | WindowsMAKER |  <--- You are here 
// |  Base Class  | 
// ---------------- 
//        | 
// ---------------- 
// |  USER CLASS  | 
// |              | 
// ---------------- 
 
 
 
 
 
// *********************************************************************
// CLASS DECLARATION FOR CLIENT DIALOG BOX: Cwm_MainWinControlsBaseDlg
// *********************************************************************
 
// The base client dialog class Cwm_MainWinControlsBaseDlg.  This dialog class inherits from
// the WindowsMAKER client dialog class.  This class provides all the default
// processing for this specific dialog box.  If you need to change member functions
// in this class, you should override them in the class' descendants.  Note
// that messages should also be handled this way.
 
class Cwm_MainWinControlsBaseDlg : public CWinMakerClientDlg
{
public:
    Cwm_MainWinControlsBaseDlg () : CWinMakerClientDlg () {} ;
 
    virtual ~Cwm_MainWinControlsBaseDlg () {} ;
 
    BOOL doCreate (LPSTR pName, CWnd *pParentWnd)
        { return Create (pName, pParentWnd); } ;
 
protected:
 
    afx_msg void OnDrawItem (int CtlID,LPDRAWITEMSTRUCT lpDrawItemStruct);
    DECLARE_MESSAGE_MAP()
} ;
 
 
// Prototypes for User Class 
#define WMPROTO_MainWinControlsDlg() 
 
#ifndef WMCLASSONLY
 
 
//*************************************************************
// FUNCTIONS AND MESSAGE MAP FOR CLASS: Cwm_MainWinControlsBaseDlg
//*************************************************************
 
 
// Message Map for class Cwm_MainWinControlsBaseDlg, decending from class CWinMakerClientDlg.
 
BEGIN_MESSAGE_MAP(Cwm_MainWinControlsBaseDlg, CWinMakerClientDlg)

    ON_WM_DRAWITEM()
END_MESSAGE_MAP()
 
// command message functions.  Dispatches the command to a
// linked function.  If you like, you can override this functionality
// in the user class.
 
// This member function draws bitmaps/icons in a dialog box.
void Cwm_MainWinControlsBaseDlg::OnDrawItem (int CtlID,LPDRAWITEMSTRUCT lpDrawItem)
{
    // Default handling
    CDialog::OnDrawItem (CtlID,lpDrawItem);
    return;
}
 
 
#endif 
 
 
 
 
// *********************************************************************
// CLASS DECLARATION FOR MODAL DIALOG BOX: Cwm_AboutBaseDlg
// *********************************************************************
 
// The base modal dialog class Cwm_AboutBaseDlg.  This dialog class inherits from
// the WindowsMAKER modal dialog class.  This class provides all the default
// processing for this specific dialog box.  If you need to change member functions
// in this class, you should override them in the class' descendants.  Note
// that messages should also be handled this way.
 
class Cwm_AboutBaseDlg : public CWinMakerModalDlg
{
public:
    Cwm_AboutBaseDlg (const char FAR* AName, CWnd* pParentWnd)
    : CWinMakerModalDlg (AName, pParentWnd) {} ;
 
    virtual ~Cwm_AboutBaseDlg () {} ;
 
protected:
 
    afx_msg void OnDrawItem (int CtlID,LPDRAWITEMSTRUCT lpDrawItemStruct);
    DECLARE_MESSAGE_MAP()
} ;
 
 
// Prototypes for User Class 
#define WMPROTO_AboutDlg() 
 
#ifndef WMCLASSONLY
 
 
//*************************************************************
// FUNCTIONS AND MESSAGE MAP FOR CLASS: Cwm_AboutBaseDlg
//*************************************************************
 
 
// Message Map for class Cwm_AboutBaseDlg, decending from class CWinMakerModalDlg.
 
BEGIN_MESSAGE_MAP(Cwm_AboutBaseDlg, CWinMakerModalDlg)

    ON_WM_DRAWITEM()
END_MESSAGE_MAP()
 
// command message functions.  Dispatches the command to a
// linked function.  If you like, you can override this functionality
// in the user class.
 
// This member function draws bitmaps/icons in a dialog box.
void Cwm_AboutBaseDlg::OnDrawItem (int CtlID,LPDRAWITEMSTRUCT lpDrawItem)
{
    // Default handling
    CDialog::OnDrawItem (CtlID,lpDrawItem);
    return;
}
 
 
#endif 
 
 
 
 
// *********************************************************************
// CLASS DECLARATION FOR MODAL DIALOG BOX: Cwm_ShowDetailsBaseDlg
// *********************************************************************
 
// The base modal dialog class Cwm_ShowDetailsBaseDlg.  This dialog class inherits from
// the WindowsMAKER modal dialog class.  This class provides all the default
// processing for this specific dialog box.  If you need to change member functions
// in this class, you should override them in the class' descendants.  Note
// that messages should also be handled this way.
 
class Cwm_ShowDetailsBaseDlg : public CWinMakerModalDlg
{
public:
    Cwm_ShowDetailsBaseDlg (const char FAR* AName, CWnd* pParentWnd)
    : CWinMakerModalDlg (AName, pParentWnd) {} ;
 
    virtual ~Cwm_ShowDetailsBaseDlg () {} ;
 
protected:
 
    afx_msg void OnDrawItem (int CtlID,LPDRAWITEMSTRUCT lpDrawItemStruct);
    DECLARE_MESSAGE_MAP()
} ;
 
 
// Prototypes for User Class 
#define WMPROTO_ShowDetailsDlg() 
 
#ifndef WMCLASSONLY
 
 
//*************************************************************
// FUNCTIONS AND MESSAGE MAP FOR CLASS: Cwm_ShowDetailsBaseDlg
//*************************************************************
 
 
// Message Map for class Cwm_ShowDetailsBaseDlg, decending from class CWinMakerModalDlg.
 
BEGIN_MESSAGE_MAP(Cwm_ShowDetailsBaseDlg, CWinMakerModalDlg)

    ON_WM_DRAWITEM()
END_MESSAGE_MAP()
 
// command message functions.  Dispatches the command to a
// linked function.  If you like, you can override this functionality
// in the user class.
 
// This member function draws bitmaps/icons in a dialog box.
void Cwm_ShowDetailsBaseDlg::OnDrawItem (int CtlID,LPDRAWITEMSTRUCT lpDrawItem)
{
    // Default handling
    CDialog::OnDrawItem (CtlID,lpDrawItem);
    return;
}
 
 
#endif 
 
 
 
 
// *********************************************************************
// CLASS DECLARATION FOR MODAL DIALOG BOX: Cwm_Menu41BaseDlg
// *********************************************************************
 
// The base modal dialog class Cwm_Menu41BaseDlg.  This dialog class inherits from
// the WindowsMAKER modal dialog class.  This class provides all the default
// processing for this specific dialog box.  If you need to change member functions
// in this class, you should override them in the class' descendants.  Note
// that messages should also be handled this way.
 
class Cwm_Menu41BaseDlg : public CWinMakerModalDlg
{
public:
    Cwm_Menu41BaseDlg (const char FAR* AName, CWnd* pParentWnd)
    : CWinMakerModalDlg (AName, pParentWnd) {} ;
 
    virtual ~Cwm_Menu41BaseDlg () {} ;
 
protected:
 
    afx_msg void OnDrawItem (int CtlID,LPDRAWITEMSTRUCT lpDrawItemStruct);
    DECLARE_MESSAGE_MAP()
} ;
 
 
// Prototypes for User Class 
#define WMPROTO_Menu41Dlg() 
 
#ifndef WMCLASSONLY
 
 
//*************************************************************
// FUNCTIONS AND MESSAGE MAP FOR CLASS: Cwm_Menu41BaseDlg
//*************************************************************
 
 
// Message Map for class Cwm_Menu41BaseDlg, decending from class CWinMakerModalDlg.
 
BEGIN_MESSAGE_MAP(Cwm_Menu41BaseDlg, CWinMakerModalDlg)

    ON_WM_DRAWITEM()
END_MESSAGE_MAP()
 
// command message functions.  Dispatches the command to a
// linked function.  If you like, you can override this functionality
// in the user class.
 
// This member function draws bitmaps/icons in a dialog box.
void Cwm_Menu41BaseDlg::OnDrawItem (int CtlID,LPDRAWITEMSTRUCT lpDrawItem)
{
    // Default handling
    CDialog::OnDrawItem (CtlID,lpDrawItem);
    return;
}
 
 
#endif 
 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -