🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: HIDE POPUPMENU???

#12695
From: matt
Date: Fri, 21 Nov 2003 07:00
20 lines
1603 bytes
"Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> wrote:
>
>How are you displaying the popup menu to begin with?

I display it in a non visual unit. TFrmRunTM is a visual unit that contain the popup menu and his source code; i associate the visual unit popup property to the non visual unit popup property:  
  
  TFrmRunTM* form = dynamic_cast<TFrmRunTM*>(ConnectedFormRT);
  form->MnGenProgramma->Visible = true;                   
  PopupMenu = form->MnPrgAuto;                            
  PopupMenu->Popup(Mouse->CursorPos.x,Mouse->CursorPos.y);


>One way would be to send a WM_CANCELMODE message to the menu's >parent window.
  Could you write me an exaple?

Thanks a lot.

Matt
  
Technical Details
Message-ID: <3fbdc608$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fbc9ad7$1@newsgroups.borland.com> <3fbd036d@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,623b0ba9bfac8e6e
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-21 00:09:16 PST
From: "matt" <mlexicon@hotmail.com>
Sender: "matt" <mlexicon@hotmail.com>
Reply-To: "matt" <mlexicon@hotmail.com>
Subject: Re: HIDE POPUPMENU???
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 195.103.152.67     
X-Forwarded-For: 130.130.62.84, 195.103.152.85
References: <3fbc9ad7$1@newsgroups.borland.com> <3fbd036d@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <3fbdc608$1@newsgroups.borland.com>
Date: 21 Nov 2003 00:00:08 -0700
X-Trace: newsgroups.borland.com 1069401608 207.105.83.66 (21 Nov 2003 00:00:08 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail