Hello

Le coup du ShowMainForm devrait marcher (au moins depuis CB4 je dirais).
Faut juste le mettre avant la construction de la fenêtre principale...

Exemple:

Visible à False pour Form1, à True pour Form2 et Form3
=> seuls Form2 et Form3 s'affichent au démarrage

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
    try
    {
        Application->Initialize();
        Application->ShowMainForm = false;                  // <==========
        Application->CreateForm(__classid(TForm1), &Form1);
        Application->CreateForm(__classid(TForm2), &Form2);
        Application->CreateForm(__classid(TForm3), &Form3);
        Application->Run();
    }
    catch (Exception &exception)
    {
        Application->ShowException(&exception);
    }
    return 0;
}
A++