Hi,
I have a problem which is special for C++-Builder. It is about hiding the mainform of an application at startup-
found a few solutions but they didn't work.
Is there a C++-Builder-User out there who might help me ?
Thanx in advance
Juergen
Printable View
Hi,
I have a problem which is special for C++-Builder. It is about hiding the mainform of an application at startup-
found a few solutions but they didn't work.
Is there a C++-Builder-User out there who might help me ?
Thanx in advance
Juergen
I’m not using BC++. I am using Delphi 5. Since the VCL is the same the code below should work in BC++ too (of course, you should translate it to C++).
Regards,Code:program Project1;
uses
Forms,
Unit1 in 'Unit1.pas' {Form1};
{$R *.RES}
begin
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.ShowMainForm := false; // Determines whether the application shows its main form on startup.
Application.Run;
end.