🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Hiding main form

#4389
From: Remy Lebeau (TeamB)
Date: Wed, 01 Feb 2006 09:32
23 lines
1376 bytes
"tinyabs" <nospam@me.com> wrote in message
news:43e067f7@newsgroups.borland.com...

> How to I hide the main form

Set the form's Visible property

> together with the button on the task bar?

Use the Win32 API ShowWindow() function, specifying the TApplication::Handle
property.

    // to hide ...
    ::ShowWindow(Application->Handle, SW_HIDE);
    Visible = false;

    // to re-show ...
    Visible = true;
    ::ShowWindow(Application->Handle, SW_SHOW);


Gambit
Technical Details
Message-ID: <43e08007$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43e067f7@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ef104a699b113da8
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43e067f7@newsgroups.borland.com>
Subject: Re: Hiding main form
Date: Wed, 1 Feb 2006 01:32:14 -0800
Lines: 25
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: 68.69.17.41
Message-ID: <43e08007$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1138786311 68.69.17.41 (1 Feb 2006 01:31:51 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail