Article View: borland.public.cppbuilder.nativeapi
Article #10069Help with Menus
From: mike
Date: Tue, 25 May 2004 22:14
Date: Tue, 25 May 2004 22:14
22 lines
1486 bytes
1486 bytes
I have been testing the ability to disable menu items in other applications
and things make some sense but I need some help with the following;
When I use :
EnableMenuItem( hmenu,
GetMenuItemID(hmenu,1),
MF_DISABLED
);
On some applications the menu item is actually disabled. This works on
Notepad, etc.
But when I try it on Acrobat the menu item is not disabled. I can add menu
items to the menu and once I add a menu item I can disable it. I can get
information on the menu item as well.
Can someone tell me why or what I have to do to get this to work.
Thanks for any help
Mike
Technical Details
Message-ID:
<40b3c53a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,f91cd61e2827613f,start X-Google-Attributes: gid10cc67,public From: "mike" <mfbrowne@earthlink.net> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Help with Menus Date: Tue, 25 May 2004 18:14:35 -0400 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 24.95.235.163 Message-ID: <40b3c53a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1085523258 24.95.235.163 (25 May 2004 15:14:18 -0700) Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail