lateral Arts - Software Development

Mediation
Art Gallery
Contact

October 1994/The Dialog Editor Controls Pack/Figure 4

Figure 4: CONTROLINFO used in Dialog Editor messages

typedef struct _CONTROLINFO
{
    LPCSTR lpszClassName;   /* address of registered class name */
    LPCSTR lpszWindowName;  /* address of window text */
    DWORD dwStyle;          /* window style */
    int x;                  /* horizontal position of window */
    int y;                  /* vertical position of window */
    int nWidth;             /* window width */
    int nHeight;            /* window height */
    HWND hwndParent;        /* handle of parent window */
    int id;                 /* child-window identifier */
    HWND hwnd;              /* window handle of control */
    BOOL bSelected;         /* selection flag */
    DWORD dwUser;           /* user data for control */
}CONTROLINFO;
typedef CONTROLINFO FAR * LPCONTROLINFO;