custcntl.mh
来自「开放源码的编译器open watcom 1.6.0版的源代码」· MH 代码 · 共 64 行
MH
64 行
/*
* custcntl.h Custom control definitions
*
:include crwatcnt.sp
*/
#ifndef _INC_CUSTCNTL
#define _INC_CUSTCNTL
:include readonly.sp
#ifndef _INC_WINDOWS
#include <windows.h>
#endif
#pragma pack(push,1)
:include cpluspro.sp
#define CCINFOORD 2
#define CCSTYLEORD 3
#define CCFLAGSORD 4
#define CTLTYPES 12
#define CTLDESCR 22
#define CTLCLASS 20
#define CTLTITLE 94
typedef struct tagCTLSTYLE {
UINT wX;
UINT wY;
UINT wCx;
UINT wCy;
UINT wId;
DWORD dwStyle;
char szClass[CTLCLASS];
char szTitle[CTLTITLE];
} CTLSTYLE,*PCTLSTYLE,FAR *LPCTLSTYLE;
typedef struct tagCTLTYPE {
UINT wType;
UINT wWidth;
UINT wHeight;
DWORD dwStyle;
char szDescr[CTLDESCR];
} CTLTYPE;
typedef struct tagCTLINFO {
UINT wVersion;
UINT wCtlTypes;
char szClass[CTLCLASS];
char szTitle[CTLTITLE];
char szReserved[10];
CTLTYPE Type[CTLTYPES];
} CTLINFO,*PCTLINFO,FAR *LPCTLINFO;
#ifdef STRICT
typedef DWORD (CALLBACK *LPFNSTRTOID)(LPCSTR);
#else
typedef DWORD (CALLBACK *LPFNSTRTOID)(LPSTR);
#endif
typedef UINT (CALLBACK *LPFNIDTOSTR)(UINT,LPSTR,UINT);
:include cplusepi.sp
#pragma pack(pop)
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?