AfxAddWindowStylefunction
Adds a new style to the specified window.
Syntax
FUNCTION AfxAddWindowStyle (BYVAL hwnd AS HWND, BYVAL dwStyle AS LONG_PTR) AS LONG_PTR
Parameters
| Name | Description | |
|---|---|---|
hwnd | Handle to the window. | |
dwStyle | Style to add. |
Return value
The previous window styles.
Description
Adds a new style to the specified window.
Example
AfxAddWindowStyle(hwnd, WS_HSCROLL)
Reference
- Include file
AfxWin.inc - Defined in AfxNova/AfxWin.inc:1890
- Documented in Windows/Windows Procedures.md
- Topic: Windows Procedures