CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2002
    Location
    Hamburg / Germany
    Posts
    280

    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

  2. #2
    Join Date
    Jun 2002
    Posts
    224
    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
  •  





Click Here to Expand Forum to Full Width

Featured