Article View: borland.public.cppbuilder.nativeapi
Article #11914Re: Binding popup menu of another program
From: nicolasr
Date: Sun, 11 Jan 2004 03:44
Date: Sun, 11 Jan 2004 03:44
24 lines
1830 bytes
1830 bytes
Hi, your suggestion worked perfectly with all my test cases. But as always there is some extra problem :-(. The target program has a main menu and all but the last menu item have regular drop down menues. The last menu item, however, brings up a popup menu that seems to be created on the fly. I assume the developer of the program used the OnClick event handler of the main menu item and creates a separate popup menu. Probably because this submenu has dynamical content. Now the problem is that Spy++ does not show any WM_COMMAND coming from this submenu. It catches a WM_COMMAND when I click the main menu item but after that there is nothing. Do you have any idea how to get information about such a separate popup menu or how to automate it? Does such a popup menu not have a parent? thanks for your patience, Nick
Technical Details
Message-ID:
<4000c699$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-mailReferences:
<3fff5912$1@newsgroups.borland.com> <3fff73b1$1@newsgroups.borland.com> <400080f1@newsgroups.borland.com> <40008e3e$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,5d250d2ded0985aa X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-10 20:09:34 PST From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fff5912$1@newsgroups.borland.com> <3fff73b1$1@newsgroups.borland.com> <400080f1@newsgroups.borland.com> <40008e3e$1@newsgroups.borland.com> Subject: Re: Binding popup menu of another program Date: Sun, 11 Jan 2004 04:44:31 +0100 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 80.133.180.43 Message-ID: <4000c699$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1073792665 80.133.180.43 (10 Jan 2004 19:44:25 -0700) 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