🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13736

Re: ShowWindow Strange problem

#13736
From: Rodolfo Frino
Date: Sun, 21 Sep 2003 13:03
19 lines
1664 bytes
"Martin C" <martinc@aol.com> wrote in message
news:3f6b8c3d@newsgroups.borland.com...
> I've a really strange problem when using ShowWindow API in my project,
> whenever I try to run my project all other window applications (ex. word,
> exel...etc.) looses there taskbar icon (meaning they don't show at ALL in
> the taskbar) and I can only switch from one application to the other using
> Alt+Tab !!  I use the following code :
>
> Application->ShowMainForm = false;
> ShowWindow(Application->Handle, SW_HIDE);
>
> can someone help me please and tell me what I am doing wrong...
>
> thanks.

Where exactly do you put these two lines in your application?

Rodolfo
Technical Details
Message-ID: <3f6da9d8@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f6b8c3d@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,bdc0185acaa06b8a
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-21 06:39:09 PST
From: "Rodolfo Frino" <rodolfofrino@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f6b8c3d@newsgroups.borland.com>
Subject: Re: ShowWindow Strange problem
Date: Sun, 21 Sep 2003 23:03:30 +1000
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 203.206.17.110
Message-ID: <3f6da9d8@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1064151512 203.206.17.110 (21 Sep 2003 06:38:32 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail