RestoreCloseOptionfunction
Restores the system menu close option and enables Alt+F4 and the X button.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
FUNCTION RestoreCloseOption (BYVAL hWin AS HWND) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
hWin | Handle of the window or dialog that owns the menu. |
Return value
TRUE or FALSE. To get extended error information, use the GetLastError function.
Description
Restores the system menu close option and enables Alt+F4 and the X button.
Example
DIM bRes AS BOOLEAN = CMenu.RestoreCloseOption
Reference
- Documented in Windows/WIndows Controls/CMenu Class.md
- Topic: About Menus