Article View: borland.public.cppbuilder.nativeapi
Article #13339Re: How to get parent menu of sub menu??
From: Remy Lebeau (TeamB)
Date: Thu, 16 Oct 2003 21:16
Date: Thu, 16 Oct 2003 21:16
16 lines
1456 bytes
1456 bytes
"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:
<3f8f0a1e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!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>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 14:39:49 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f8efec0$1@newsgroups.borland.com> Subject: Re: How to get parent menu of sub menu?? Date: Thu, 16 Oct 2003 14:16:20 -0700 Lines: 18 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: 67.22.137.75 Message-ID: <3f8f0a1e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1066338846 67.22.137.75 (16 Oct 2003 14:14:06 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!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