47288Re: [LIBERTYBASIC] Disable menu item
- Dec 17, 2013Am 17.12.2013 16:33, schrieb Sarmed:
> Hi All,The newsletters have outdated API functions used, since those are mostly
> How could I disable menu items?
> A friend post me the following link,
> But there was a problem running the following code,
> [Menu.Init] 'Gets handle of menu bar
> CallDll #user, "GetMenu", hMain as word, hMenuBar as word 'returns handle of MENU BAR
> An error message said there is no #user Dll opened.
> What is (CallDll #user) please?
> I see (CallDll #user) in many LB news letters, how could I understand such code please?
> Thanks to your help.
for 16-bit Windows.
Best to use the wikis below, where we can update code to reflect latest
LB 4.04 Pro ... http://www.libertybasic.com/assist.html
LB 4.04 ....... http://www.libertybasic.com/lb404setup.exe
LB Community Wiki .............. http://basic.wikispaces.com/
LB Programmer's Encyclopedia ... http://lbpe.wikispaces.com/
LB Bug Tracker ................. http://libertybasicbugs.wikispaces.com/
Books at http://www.lulu.com/ and http://www.amazon.com/
Alyce Watson ... APIs for Liberty BASIC
Carl Gundel .... Beginning Programming with Liberty BASIC
Windows 7 Home Premium 64-bit SP1
AMD Turion X2 RM-70 2GHz, 4GB RAM
- << Previous post in topic Next post in topic >>