Article View: comp.lang.asm.x86
Article #115disable menuitem. Help !!
From: <anybody>
Date: Mon, 08 Feb 1999 00:00
Date: Mon, 08 Feb 1999 00:00
16 lines
1197 bytes
1197 bytes
Hello Out there I try to disable a menu item with the following code call GetMenu,hdlg mov ebx,eax call GetMenuItemID,ebx,0 call EnableMenuItem,ebx,eax,MF_GRAYED This fails... 1. I dont know if this is the way to disable a menu (are there other ways) 2. I don't understand the menu item positioning in GetMenuItemID Please explain !!!
Technical Details
Message-ID:
<79niu0$ehm$1@winter.news.rcn.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: feaef,78a48dcea00c7952,start X-Google-Attributes: gidfeaef,public X-Google-Thread: f7d8d,78a48dcea00c7952,start X-Google-Attributes: gidf7d8d,public X-Google-Thread: 114917,78a48dcea00c7952,start X-Google-Attributes: gid114917,public From: "<anybody>" <mailrelay@theoffice.net> Subject: disable menuitem. Help !! Date: 1999/02/08 Message-ID: <79niu0$ehm$1@winter.news.rcn.net> X-Deja-AN: 442127029 Content-Transfer-Encoding: 7bit Approved: <johnfine@erols.com> Content-Type: text/plain; charset=us-ascii X-Mozilla-Status: 0801 X-Complaints-To: abuse@rcn.com X-Trace: kJg+3Fcke3eRSCuK1wieSTIY4cIsvmEI1Yf/TxVYMEs= Organization: UUNET-NL Mime-Version: 1.0 NNTP-Posting-Date: 8 Feb 1999 20:54:24 GMT Newsgroups: comp.lang.asm.x86,alt.lang.asm,borland.public.tasm