Article View: borland.public.cppbuilder.nativeapi
Article #7522Re: System Menu
From: JD
Date: Fri, 28 Jan 2005 00:44
Date: Fri, 28 Jan 2005 00:44
25 lines
1552 bytes
1552 bytes
Bob Gonder <notbg@notmindspring.invalid> wrote: >JD wrote: > >> >>I'm trying to catch when the window is minimized, maximized or >>restored from either the system menu or by right clicking the >>taskbar icon. >> >>I was testing for WM_SYSCOMMAND but that only catches the >>border icon clicks. I've tried catching WM_COMMAND but that's >>not getting sent, contrary to what I *think* the help file says >>for WM_COMMAND. >> >>Can someone shed some light on this for me please? > >Have you looked at >WM_SHOWWINDOW >WM_QUERRYOPEN >WM_GETMINMAXINFO I found the problem. The WM_SYSCOMMAND *is* being sent but it's going to the TApplication - not the main form. ~ JD
Technical Details
Message-ID:
<41f98ade$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41f97c3f@newsgroups.borland.com> <2h0jv05tg5hduj30gtpp7vpnq9ln9dq6uc@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a476d17554b7e065 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "JD" <nospam@nospam.com> Sender: "JD" <nospam@nospam.com> Reply-To: "JD" <nospam@nospam.com> Subject: Re: System Menu Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 172.129.19.200 References: <41f97c3f@newsgroups.borland.com> <2h0jv05tg5hduj30gtpp7vpnq9ln9dq6uc@4ax.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <41f98ade$1@newsgroups.borland.com> Date: 27 Jan 2005 16:44:14 -0800 X-Trace: newsgroups.borland.com 1106873054 207.105.83.66 (27 Jan 2005 16:44:14 -0800) Lines: 26 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail