Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Subclasses all controls in a dialog box and in the dialog window itself.
Syntax
PUBLIC BOOL FAR PASCAL Ctl3dSubclassDlgEx(
HWND hwndDlg,
DWORD grbit
);
Parameters
-
hwndDlg
-
A handle to the dialog window.
-
grbit
-
The control types to be subclassed. This value can be any of the following.
Value Meaning - CTL3D_BUTTONS
- 0x0001
Subclass buttons. - CTL3D_LISTBOXES
- 0x0002
Subclass list boxes. - CTL3D_EDITS
- 0x0004
Subclass edit controls. - CTL3D_COMBOS
- 0x0008
Subclass combo boxes. - CTL3D_STATICTEXTS
- 0x0010
Subclass static text controls. - CTL3D_STATICFRAMES
- 0x0020
Subclass static frames. - CTL3D_ALL
- 0xffff
Subclass all controls. - CTL3D_NODLGWINDOW
- 0x00010000
Do not subclass the dialog window.
Return value
Returns TRUE if the function succeeds; otherwise, it returns FALSE.
Remarks
This function is especially useful in applications based on C++.
This function has no associated import library or header file; you must call it using the LoadLibrary and GetProcAddress functions.
Requirements
| Requirement | Value |
|---|---|
| DLL |
|