|
-
November 7th, 2002, 10:00 AM
#1
Borland C++-Builder issue... any C++-Builder users here ?
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
-
November 7th, 2002, 11:35 AM
#2
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++).
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.
Regards,
ZDF
What is good is twice as good if it's simple.
"Make it simple" is a complex task.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|