DrawBarfunction
Redraws the menu bar of the specified window.
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 DrawBar (BYVAL hWin AS HWND) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
hWin | Handle of the window or dialog that owns the menu. |
Return value
Returns TRUE if the function succeeds; FALSE otherwise. To get extended error information, use the GetLastError function.
Description
Redraws the menu bar of the specified window or dialog. If the menu bar changes after the system has created the window or dialog, this function must be called to draw the changed menu bar.
Remarks
This operation should be performed when a menu is altered dynamically after the dialog has been initially created, without regard to the visible state of the dialog.
Reference
- Documented in Windows/WIndows Controls/CMenu Class.md
- Topic: About Menus