README.md

December 4, 2022 ยท View on GitHub

Titled PopupMenu

Description

This turned out to be more difficult to work out than the drawing of a button on the titlebar.

Of course once I'd got it it was simple.

Once again this code uses subclassing so always use the forms close button or the menus exit to stop the project, or you will crash.

More Info

Submitted On2001-06-02 17:08:58
ByMick Doherty
LevelIntermediate
User Rating4.8 (230 globes from 48 users)
CompatibilityVB 5.0
CategoryCustom Controls/ Forms/ Menus
WorldVisual Basic
Archive FileTitled Pop20445622001.zip

API Declarations

CreatePopupMenu
TrackPopupMenu
AppendMenu
ModifyMenu
DestroyMenu
GetCursorPos
CopyMemory
BitBlt
SetRect
DrawCaption
GetMenuItemRect
GetMenuItemCount
GetPixel
SetPixel
CallWindowProc
SetWindowLong