Article View: borland.public.cppbuilder.nativeapi
Article #10029Re: Run Once
From: JD
Date: Mon, 31 May 2004 13:50
Date: Mon, 31 May 2004 13:50
21 lines
1760 bytes
1760 bytes
"Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> wrote: > Call UpdateWindowState(). That will force the WindowState > property to reflect the form's actual window state at that moment. I think that I'm expecting something more from the WindowState than what it provides. I added to the WndProc to monitor the form minimizing and manually set the WindowState to wsMinimized. When I did that, everything in the WinMain code worked correctly. However, the application did not minimized to the taskbar. Instead it minimized above the taskbar over the Start button. > If the VCL's WindowState is not accurate enough, then use > the Win32 API directly, which always is. Which API would that be? All I could find was IsIconic and IsZoomed. ~ JD
Technical Details
Message-ID:
<40bb3815$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40b9cff4$1@newsgroups.borland.com> <k5ikb0dppip15jep979bhuf7g148fsp3lj@4ax.com> <40ba78cc$1@newsgroups.borland.com> <40ba7ce2$1@newsgroups.borland.com> <40ba7f15$1@newsgroups.borland.com> <40ba9d87$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,55fa8aeaf57fcad1 X-Google-Attributes: gid10cc67,public From: "JD" <nospam@nospam.com> Sender: "JD" <nospam@nospam.com> Reply-To: "JD" <nospam@nospam.com> Subject: Re: Run Once Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 172.149.180.26 References: <40b9cff4$1@newsgroups.borland.com> <k5ikb0dppip15jep979bhuf7g148fsp3lj@4ax.com> <40ba78cc$1@newsgroups.borland.com> <40ba7ce2$1@newsgroups.borland.com> <40ba7f15$1@newsgroups.borland.com> <40ba9d87$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <40bb3815$1@newsgroups.borland.com> Date: 31 May 2004 06:50:13 -0700 X-Trace: newsgroups.borland.com 1086011413 207.105.83.66 (31 May 2004 06:50:13 -0700) Lines: 22 Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail