🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Displaying menu after using CreatePopupMenu()

#1532
From: Remy Lebeau (TeamB)
Date: Fri, 27 Jul 2007 17:11
15 lines
1479 bytes
"Kris" <test@test.com> wrote in message
news:46a9e711$1@newsgroups.borland.com...

> I'm wondering if my arbitrary 0x1234 WParamLo value
> that isn't going to potentially run into conflicts with other
> UI actions (e.g. menu items generated by VCL).

VCL menu items use their own provide HWND to handle their actions.  The
WM_COMMAND for them will never go through your message handler.  As for the
IDs for them, they start at 0 growing sequentially, and then when an item is
destroyed, its ID is reused for the next item that is created.


Gambit
Technical Details
Message-ID: <46aa2786$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46a9b224$1@newsgroups.borland.com> <46a9c918$1@newsgroups.borland.com> <46a9e711$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,36d1a4e51ed2600d
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <46a9b224$1@newsgroups.borland.com> <46a9c918$1@newsgroups.borland.com> <46a9e711$1@newsgroups.borland.com>
Subject: Re: Displaying menu after using CreatePopupMenu()
Date: Fri, 27 Jul 2007 10:11:42 -0700
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 75.82.252.126
Message-ID: <46aa2786$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1185556358 75.82.252.126 (27 Jul 2007 10:12:38 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail