Article View: borland.public.cppbuilder.nativeapi
Article #13254Re: GetMenu
From: Remy Lebeau (TeamB)
Date: Wed, 22 Oct 2003 17:24
Date: Wed, 22 Oct 2003 17:24
17 lines
1591 bytes
1591 bytes
"ray" <srayray@hotmail.com> wrote in message news:3f96a343$1@newsgroups.borland.com... > after i used GetSystemMenu(wHnd) it return the Menu > handler to me. but i used GetMenu(wHnd) it return > NULL to me. GetMenu() and GetSystemMenu() do not return the same menu. GetMenu() returns the MainMenu of the window, if there is one. In other words, the one along the top of a window underneath the caption bar. GetSystemMenu(), on the other hand, returns the system menu instead. In other words, the menu that appears when you right-click on the caption bar itself, or click the icon in the top-left corner. Gambit
Technical Details
Message-ID:
<3f96be5c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f96a343$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,287617b18893dec3 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-22 10:39:34 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f96a343$1@newsgroups.borland.com> Subject: Re: GetMenu Date: Wed, 22 Oct 2003 10:24:20 -0700 Lines: 19 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: <3f96be5c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1066843740 67.22.137.75 (22 Oct 2003 10:29:00 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail