Article View: borland.public.cppbuilder.nativeapi
Article #10013Re: Run Once
From: JD
Date: Sun, 30 May 2004 18:20
Date: Sun, 30 May 2004 18:20
26 lines
1612 bytes
1612 bytes
Hans Galema <dontusethis@dontusethis.nl> wrote:
>I can confirm your problem of a disfunctional minimize icon
>for bcb3 and win98se.
>
>> if( ::IsIconic(hWnd) )
>> {
>> // This block never executes no matter what the state
>> ShowWindow( hWnd, SC_RESTORE );
>
>Why not chance a C in a W ( not that it matters):
Oh I had it both ways inside and out.
>Also the next adaptions were not succesfull.
>
> else
> {
> ShowWindow( hWnd, SW_RESTORE );
> SetForegroundWindow( hWnd );
> }
Did you change the code to assume a minimize HWND and see if
you got the same problem with the minimized button?
~ JD
Technical Details
Message-ID:
<40ba2601$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> <40b9ecfc@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.161.73.184 References: <40b9cff4$1@newsgroups.borland.com> <40b9ecfc@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <40ba2601$1@newsgroups.borland.com> Date: 30 May 2004 11:20:49 -0700 X-Trace: newsgroups.borland.com 1085941249 207.105.83.66 (30 May 2004 11:20:49 -0700) Lines: 27 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