PDA

View Full Version : Removing a Menu



catventure
04-10-2008, 13:24
Hi,

Just wondered if there is a way to detach (remove) a menu bar after it has already been attached with eg:

MENU ATTACH hMenu, hDlg

or am I missing the blindingly obvious?!

Thanks,
catventure.

Michael Clease
04-10-2008, 18:50
If you want a quick cheat you could just create a new menu add to the window.

Just dont add any items to that new menu.

MENU NEW BAR TO hMenu2
MENU ATTACH hMenu2, hDlg

it will replace the current menu with blank.

catventure
04-10-2008, 20:44
MENU NEW BAR TO hMenu2
MENU ATTACH hMenu2, hDlg


Hi Michael.

Thanks. That works great.

Regards,
catventure.