Article View: borland.public.cppbuilder.nativeapi
Article #7359Re: Minimizing/Restoring
From: JD
Date: Thu, 10 Feb 2005 22:02
Date: Thu, 10 Feb 2005 22:02
22 lines
1505 bytes
1505 bytes
"Vladimir Stefanovic" <antivari@po.sbb.co.yu> wrote: > > You probably ment [...] You misunderstood. When the window is minimized, I want to process the message myself because I want to change the way that Windows animates the window down to the taskbar (and back up again). My problem was that when processing the message myself, I was failing to do something that set a windows-internal flag that said that the window was minimized. As usual, just after I posted, I thought of something and found a solution: ::SetWindowLong( Handle, GWL_STYLE, ::GetWindowLong(Handle, GWL_STYLE) | WS_MINIMIZE ); Works like a charm. ~ JD
Technical Details
Message-ID:
<420bda04$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<420bca8a@newsgroups.borland.com> <420bd09d@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a333c6f2eae9d197 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: Minimizing/Restoring Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 172.163.231.25 References: <420bca8a@newsgroups.borland.com> <420bd09d@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <420bda04$1@newsgroups.borland.com> Date: 10 Feb 2005 14:02:44 -0800 X-Trace: newsgroups.borland.com 1108072964 207.105.83.66 (10 Feb 2005 14:02:44 -0800) Lines: 23 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail