Article View: borland.public.cppbuilder.nativeapi
Article #594Re: WinEvents - what is equivalent to WM_SYSCOMMAND.SC_RESTORE?
From: Remy Lebeau (TeamB)
Date: Mon, 03 Mar 2008 17:26
Date: Mon, 03 Mar 2008 17:26
22 lines
1728 bytes
1728 bytes
"Anders Johansen" <home@dduck.dk> wrote in message
news:47c966f6$1@newsgroups.borland.com...
> The events one can hook using SetWinEvent mostly seem to
> match the messages one would lift from the windows message
> queue using the traditional global hook approach.
Are you referring to SetWinEventHook()?
http://msdn2.microsoft.com/en-us/library/ms696160.aspx
> Unfortunately, I am stumped figuring out which event constant
> is equivalent to the WM_SYSCOMMAND.SC_RESTORE
> message.
Near as I can tell, there isn't one mentioned in the documentation. Have
you tried simply logging the actual values that your event callback receives
while a window is being restored?
Gambit
Technical Details
Message-ID:
<47cc349a$3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!news2.google.com!news.glorb.com!ucberkeley!news-hog.berkeley.edu!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<47c966f6$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1525e6abf346c819 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <47c966f6$1@newsgroups.borland.com> Subject: Re: WinEvents - what is equivalent to WM_SYSCOMMAND.SC_RESTORE? Date: Mon, 3 Mar 2008 09:26:06 -0800 Lines: 24 Organization: Lebeau Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 207.178.157.90 Message-ID: <47cc349a$3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1204565146 207.178.157.90 (3 Mar 2008 09:25:46 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!news2.google.com!news.glorb.com!ucberkeley!news-hog.berkeley.edu!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail