Article View: borland.public.cppbuilder.nativeapi
Article #5920Re: WindowState
From: JD
Date: Fri, 24 Jun 2005 19:23
Date: Fri, 24 Jun 2005 19:23
23 lines
1580 bytes
1580 bytes
Bob Gonder <notbg@notmindspring.invalid> wrote: >JD wrote: > >> If I use SetWindowsHookEx to hook into the main > >What idHook value are you using? I tried WndProc and WndProcRet. One (I don't recall which) didn't even detect WM_SYSCOMMAND. >>thread, I can detect SC_RESTORE and SC_MAXIMIZE but not >>SC_MINIMIZE ????? > >Have you looked at WH_CBT ? I just used Application::HookMainWindow and it never fails. The real issue for me though is being able to detect the *correct* window state when it's minimized. Tracking it's changes is just a hack - a reliable one but a hack none the less. ~ JD
Technical Details
Message-ID:
<42bc5da6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42ace21e$1@newsgroups.borland.com> <opsso0lgqutqe2av@news.noeatingpuzzlepieces> <42bbeb1f$1@newsgroups.borland.com> <6cgob1pn811led6m05cgv8vt3mifi6suo2@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4e7735b974fe9667 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: WindowState Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 205.188.116.135 X-Forwarded-For: 172.151.155.251 References: <42ace21e$1@newsgroups.borland.com> <opsso0lgqutqe2av@news.noeatingpuzzlepieces> <42bbeb1f$1@newsgroups.borland.com> <6cgob1pn811led6m05cgv8vt3mifi6suo2@4ax.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <42bc5da6$1@newsgroups.borland.com> Date: 24 Jun 2005 12:23:18 -0700 X-Trace: newsgroups.borland.com 1119640998 207.105.83.66 (24 Jun 2005 12:23:18 -0700) Lines: 24 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail