#include <custcntl.h>
typedef struct tagCTLTYPE {
UINT wType; /* type style */
UINT wWidth; /* suggested width */
UINT wHeight; /* suggested height */
DWORD dwStyle; /* default style */
char szDescr[CTLDESCR]; /* menu name */
} CTLTYPE;
The CTLTYPE structure contains information about a control in a particular class. The CTLINFO structure includes an array of CTLTYPE structures.
wType
Reserved; must be zero.
wWidth
Specifies the suggested width of the control when created with Dialog Editor. The width is specified in resource-compiler coordinates.
wHeight
Specifies the suggested height of the control when created using Dialog Editor. The height is specified in resource-compiler coordinates.
dwStyle
Specifies the initial style bits used to obtain this control type. This value includes the control-defined flags in the high-order word and the Windows-defined flags in the low-order word.
szDescr
Defines the name to be used by other development tools when referring to this particular variant of the base control class. Dialog Editor does not refer to this information. This string should not be longer than the CTLDESCR value.