Help Center

DestroyBitmapssub

Destroys the bitmaps used by the menu.

Windowssubdoc-orphan
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

SUB DestroyBitmaps (BYVAL hMenu AS HMENU)

Parameters

NameDescription
hMenuHandle of the menu.

Description

Destroys the bitmaps used by the menu, if any.

Example

CASE WM_DESTROY

' // Destroy the menu and the bitmaps
DIM hMenu AS HMENU = CMenu.GetHandle(hwnd)
CMenu.DestroyBitmaps(hMenu)
CMenu.Destroy(hMenu)

Reference

  • Documented in Windows/WIndows Controls/CMenu Class.md
  • Topic: About Menus