Article View: borland.public.cppbuilder.nativeapi
Article #10022Re: Run Once
From: Remy Lebeau (TeamB)
Date: Mon, 31 May 2004 02:46
Date: Mon, 31 May 2004 02:46
20 lines
1708 bytes
1708 bytes
"JD" <nospam@nospam.com> wrote in message news:40ba7f15$1@newsgroups.borland.com... > I did that and it still didn't know what it's own state was. > As I stated in my original post, even from within the > WndProc method, the WindowState always evaluated > to the last known state PRIOR to being minimized. Call UpdateWindowState(). That will force the WindowState property to reflect the form's actual window state at that moment. > But it doesn't know. The WindowState *always* > evalutes to the last known state BEFORE it was minimized. You are thinking too small. If the VCL's WindowState is not accurate enough, then use the Win32 API directly, which always is. Gambit
Technical Details
Message-ID:
<40ba9d87$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.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>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,55fa8aeaf57fcad1 X-Google-Attributes: gid10cc67,public From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <40b9cff4$1@newsgroups.borland.com> <k5ikb0dppip15jep979bhuf7g148fsp3lj@4ax.com> <40ba78cc$1@newsgroups.borland.com> <40ba7ce2$1@newsgroups.borland.com> <40ba7f15$1@newsgroups.borland.com> Subject: Re: Run Once Date: Sun, 30 May 2004 19:46:14 -0700 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 67.22.135.163 Message-ID: <40ba9d87$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1085971847 67.22.135.163 (30 May 2004 19:50:47 -0700) Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail