Article View: borland.public.cppbuilder.nativeapi
Article #5280Re: Menu Item Visibility
From: Ed Mulroy
Date: Sat, 24 Sep 2005 18:45
Date: Sat, 24 Sep 2005 18:45
17 lines
1509 bytes
1509 bytes
Sorry, I suffered from "ready, fire, aim!". I did not note that it was a menu item. Look at the reply from 'PaoloItaly' for the way to do it. . Ed > Dave wrote in message > news:4333ede5$1@newsgroups.borland.com... > >> ShowWindow(control_hwnd, SW_HIDE); >> and later, when you want to see it >> ShowWindow(control_hwnd, SW_SHOW); > > I don't think menu items have a HWND. I'm pretty sure that > there is no menu item object that can be manipulated, thus the > awkwardness.
Technical Details
Message-ID:
<43359e4b@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4332bbd8$1@newsgroups.borland.com> <4332e2d5$1@newsgroups.borland.com> <4333ede5$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,880518517c5c32da X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Ed Mulroy" <dont_email_me@bitbuc.ket> Newsgroups: borland.public.cppbuilder.nativeapi References: <4332bbd8$1@newsgroups.borland.com> <4332e2d5$1@newsgroups.borland.com> <4333ede5$1@newsgroups.borland.com> Subject: Re: Menu Item Visibility Date: Sat, 24 Sep 2005 14:45:07 -0400 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 4.238.213.201 Message-ID: <43359e4b@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1127587403 4.238.213.201 (24 Sep 2005 11:43:23 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail