Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I want to close the form before it is displayed
Message
Information générale
Forum:
Borland C++ Builder
Catégorie:
Langage C++ Builder
Divers
Thread ID:
01024084
Message ID:
01024268
Vues:
23
>>>I'm not sure about that. Actually, trapping on WM_CREATE is a standard Win32 apps. I think Borland C++ also have an access to the window (and child window) procedure. It's just I don't know a "how to".
>>>Another (bad) idea is to hook the window creation <*g*> then destroy it from the hook. Or can you just check everything before the constructor ?
>>
>>Yes if I can't find a solution relatively soon I will add the check for data connection before I even start thinking about initiating the form.
>
>Einar,
>
>Last attempt <bg>
>Is there any OnCreate event ? If so, try to issue "return -1" in that event.
>
>Regards

The OnCreate event returns void trying to return anything causes compile errors.
Einar
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform