Default
Google

How can I remove the taskbar caption?

Applies To: C++Builder 1 or higher
Category: Knowledge Base

By default, when the application is opened, a caption with an icon appears in the taskbar. Is it possible to hide this caption?
 
 1.
  Start a new project using File | New Application.
 
 2.
  Edit the OnShow event of your form:
 
void __fastcall TForm1::FormShow(TObject *Sender)
{
    ShowWindow(Application->Handle, SW_HIDE); 
}

C++Builder Developer's Network
Copyright © Yoto Yotov



Acquiring image from ProHosting Banner Exchange