Article View: borland.public.cppbuilder.nativeapi
Article #13344Re: How to get parent menu of sub menu??
From: Marc
Date: Thu, 16 Oct 2003 23:18
Date: Thu, 16 Oct 2003 23:18
30 lines
1735 bytes
1735 bytes
Hey Thanks for the reponse, it was what I seem to have found in the documentation, but I still had hope it could be done. I will find another solution to my problem. Marc "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> wrote: > >"Marc" <bukwheat@axess.com> wrote in message >news:3f8efec0$1@newsgroups.borland.com... > >> Is it possible to detect if a menu is a sub-menu of another? > >Not that I know of. I do not see anything in the API that would provide for >that. The reverse is possible, though - detecting if a given menu item has >a submenu of its own. > >> I currently have the handle(HWND) to the menu I am interested in > >Menus use HMENU, not HWND. HWND applies to windows instead. > > >Gambit > >
Technical Details
Message-ID:
<3f8f2738$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f8efec0$1@newsgroups.borland.com> <3f8f0a1e$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,e3f721bd1049e517 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-16 16:40:08 PST From: "Marc" <bukwheat@axess.com> Sender: "Marc" <bukwheat@axess.com> Reply-To: "Marc" <bukwheat@axess.com> Subject: Re: How to get parent menu of sub menu?? Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 138.11.254.204 X-Forwarded-For: 192.168.152.223 References: <3f8efec0$1@newsgroups.borland.com> <3f8f0a1e$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <3f8f2738$1@newsgroups.borland.com> Date: 16 Oct 2003 16:18:16 -0700 X-Trace: newsgroups.borland.com 1066346296 207.105.83.66 (16 Oct 2003 16:18:16 -0700) Lines: 31 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail