🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Displaying menu after using CreatePopupMenu()

#1537
From: Alan Bellingham
Date: Sat, 28 Jul 2007 17:09
14 lines
1583 bytes
Kris <ks@ks.com> wrote:

>I assume it is OK to call my event handler (the one that does some 
>processing due to the menu click) from within WndProc() itself ?

That's the way it's normally done. If the work in question is going to
take so long that the UI freezes for too long, then you may wish to kick
off a thread to do its work.

Alan Bellingham
-- 
Team Browns
<url:http://www.borland.com/newsgroups/> Borland newsgroup descriptions
<url:http://www.borland.com/newsgroups/netiquette.html>      netiquette
Technical Details
Message-ID: <rvtma3pnhemc91atnk6h9gbeqhl5fp8lq7@4ax.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.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> <46aa2786$1@newsgroups.borland.com> <46aa2e75@newsgroups.borland.com> <46aa3e31@newsgroups.borland.com> <46ab765f$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: Alan Bellingham <alanb@episys.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Displaying menu after using CreatePopupMenu()
Date: Sat, 28 Jul 2007 18:09:17 +0100
Reply-To: alanb@episys.com
Message-ID: <rvtma3pnhemc91atnk6h9gbeqhl5fp8lq7@4ax.com>
References: <46a9b224$1@newsgroups.borland.com> <46a9c918$1@newsgroups.borland.com> <46a9e711$1@newsgroups.borland.com> <46aa2786$1@newsgroups.borland.com> <46aa2e75@newsgroups.borland.com> <46aa3e31@newsgroups.borland.com> <46ab765f$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 4.2/32.1118
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.49.31.105
X-Trace: newsgroups.borland.com 1185642607 62.49.31.105 (28 Jul 2007 10:10:07 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail