🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5267

Re: Menu Item Visibility

#5267
From: Ed Mulroy
Date: Thu, 22 Sep 2005 17:00
18 lines
1579 bytes
ShowWindow(control_hwnd, SW_HIDE);

  and later, when you want to see it

ShowWindow(control_hwnd, SW_SHOW);

.  Ed

> Dave wrote in message
> news:4332bbd8$1@newsgroups.borland.com...
>
> One of the great things about the VCL is the ability to
> easily make a menu item not visible.  Is there a trick to
> doing this using the windows API?  There seems to be no
> way to do it really except to actually remove the item to
> make it invisible and add it back to make it visible which
> is difficult to manage.  Is this what the VCL is doing
> behind the scenes?
Technical Details
Message-ID: <4332e2d5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4332bbd8$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>
Subject: Re: Menu Item Visibility
Date: Thu, 22 Sep 2005 13:00:36 -0400
Lines: 20
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: 69.134.170.196
Message-ID: <4332e2d5$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1127408341 69.134.170.196 (22 Sep 2005 09:59:01 -0700)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail