LB Booster
« Disable all MENU BAR? »

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!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Disable all MENU BAR?  (Read 361 times)
SarmedNafi
Junior Member
ImageImage


member is offline

Avatar




PM


Posts: 93
xx 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.

Thanks in advance,
Sarmed
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Disable all MENU BAR?
« Reply #1 on: May 19th, 2015, 4:51pm »

on May 19th, 2015, 4:03pm, SarmedNafi wrote:
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.

Richard.

« Last Edit: May 19th, 2015, 4:52pm by Richard Russell » User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls