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

📄 ntbench.h

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


#define WMPDEBUG 
    
// WindowsMAKER class definitions.
class CWinMakerApp;
class CWinMakerFrameWnd;
class CWinMakerModelessDlg;
class CWinMakerModalDlg;
class CWinMakerClientDlg;
class Cwm_MainBaseWnd;
class Cwm_Application;
class Cwm_MainWnd;

class Cwm_MainWinControlsBaseDlg;
class Cwm_MainWinControlsDlg;
class Cwm_AboutBaseDlg;
class Cwm_AboutDlg;
class Cwm_ShowDetailsBaseDlg;
class Cwm_ShowDetailsDlg;
class Cwm_Menu41BaseDlg;
class Cwm_Menu41Dlg;


    
// *************************************************************
// WindowsMAKER ID Values
    
#define id_cb_drive                             10000
#define id_ed_threads                           10001
#define id_ed_blocks                            10002
#define id_ed_repeat                            10003
#define id_tx_dhrys                             10004
#define id_tx_whets                             10005
#define id_tx_kbytes                            10006
#define id_tx_status                            10007
#define id_tx_video                             10008
#define id_text_bpp                             10009
#define id_tx_bpp                               10010
#define id_tx_rpt                               10011
#define id_tx_seqrd                             10012
#define id_tx_seqwrite                          10013
#define id_tx_seqread                           10014
#define id_tx_randwrite                         10015
#define id_tx_randread                          10016
#define id_tx_textscroll                        10017
#define id_tx_linedraw                          10018
#define id_tx_filledobj                         10019
#define id_tx_colordisp                         10020
#define id_ed_describe                          10021
#define id_tx_version                           10022
    
// *************************************************************
// WindowsMAKER Pro automatically generated ID Values
    

#define IDM_Save                                4000
#define IDM_Saveas                              4001
#define IDM_Print                               4002
#define IDM_Exit                                4003
#define IDM_All                                 4004
#define IDM_Dhrystone                           4005
#define IDM_Whetstone                           4006
#define IDM_Disk                                4007
#define IDM_Videoalltests                       4008
#define IDM_TextScrolling                       4009
#define IDM_LineDrawing                         4010
#define IDM_FilledObjects                       4011
#define IDM_ColorDisplay                        4012
#define IDM_Details                             4013
#define IDM_Charts                              4014
#define IDM_Comparisons                         4015
#define IDM_Predictions                         4016
#define IDM_About                               4017

// Constants for error message strings
#define BLD_CannotRun          4000
#define BLD_CannotCreate       4001
#define BLD_CannotLoadMenu     4002
#define BLD_CannotLoadIcon     4003
#define BLD_CannotLoadBitmap   4004
 

#if !defined(THISISBLDRC)

 
// Give access to handles in all code modules
extern Cwm_Application TheApp;
 
 
// WindowsMaker internal functions 
BOOL    BLDCreateClientControls (char *, CWinMakerClientDlg*);
int     BLDDisplayMessage (HWND, unsigned, char *, int);
BOOL    BLDDrawBitmap (LPDRAWITEMSTRUCT, char *, BOOL);
BOOL    BLDDrawIcon (LPDRAWITEMSTRUCT, char *);
void    BLDMoveWindow (HWND, int, int, int, int, BOOL);
BOOL    BLDSwitchMenu (CWnd* pWnd, char *pTemplateName);
 
BOOL BLD_RunBenchMarksUDCFunc (CWnd *pWnd);
BOOL BLD_ExitUDCFunc (CWnd *pWnd);
BOOL BLD_PrintUDCFunc (CWnd *pWnd);
BOOL BLD_SaveUDCFunc (CWnd *pWnd);
BOOL BLD_SaveasUDCFunc (CWnd *pWnd);
CWnd * BLD_MainWinControlsClFunc (CWnd *pWnd);
BOOL   BLD_AboutDlgFunc (CWnd *pWnd);
BOOL BLD_RunDhrystoneUDCFunc (CWnd *pWnd);
BOOL BLD_RunWhetstoneUDCFunc (CWnd *pWnd);
BOOL BLD_RunDiskUDCFunc (CWnd *pWnd);
BOOL BLD_RunVideoUDCFunc (CWnd *pWnd);
BOOL BLD_TextScrollingUDCFunc (CWnd *pWnd);
BOOL BLD_LineDrawingUDCFunc (CWnd *pWnd);
BOOL BLD_FilledObjectsUDCFunc (CWnd *pWnd);
BOOL BLD_ColorDisplayUDCFunc (CWnd *pWnd);
BOOL   BLD_ShowDetailsDlgFunc (CWnd *pWnd);
BOOL   BLD_Menu41DlgFunc (CWnd *pWnd);

// ***************************************************************
// Variables, types and constants for controls in main window.
// ***************************************************************
 
#define CLIENTSTRIP WS_MINIMIZE|WS_MAXIMIZE|WS_CAPTION|WS_BORDER|WS_DLGFRAME|WS_SYSMENU|WS_POPUP|WS_THICKFRAME|DS_MODALFRAME
 
typedef struct 
{
    unsigned long dtStyle;
    BYTE dtItemCount;
    int dtX;
    int dtY;
    int dtCX;
    int dtCY;
} BLD_DLGTEMPLATE;
 
typedef BLD_DLGTEMPLATE far     *LPBLD_DLGTEMPLATE;
 

#include "NTHELL.WMH"
#endif

⌨️ 快捷键说明

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