Welcome Guest. Please Login or Register. Apr 1st, 2018, 04:08am
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. We apologize Conforums does not have any export functions to migrate data. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
Disable all MENU BAR?
« Thread started on: May 19th, 2015, 4:03pm »
Dear Sir,
How to disable all the menu bar? Not a sub menu or a menu item but all the menu bar with all it's menus, is it possible? Hiding all the menu bar or sub menus are not preferred. What I am looking for is disable all the menu bar. Then enable it in certain moment.
What I am looking for is disable all the menu bar. Then enable it in certain moment.
As far as I know you cannot disable the entire menu bar in one operation. I think you must disable each menu individually, then to restore it again you must enable each menu individually.
You can do that using the GetMenu API to get the handle and then the EnableMenuItem API to disable or enable the individual menus.
A search of the LB Community Forum should find some code.