I have a very standard VCL Forms application generated using the C++Builder 2006 IDE. I use the constructor to do a significant amount of initialisation, especially some communication classes.
I have added a non-modal logging form which records, via simple event handlers, some of the communication activity. The logging form is created after the main form starts so I miss the initial activity.
I realise the simple answer is to change the order of the Application->CreateForms in the WinMain, but this file is generated by C++Builder and I don't like playing with auto-generated files.
Is there a simple way to convice C++Builder to start my logging first? or maybe to not start it at all so I can in the main form constructor?
I would really like to start all the comms in the main form when the message processing starts (when Application->Run is running) as I generate a lot of messages in the constructor. The logging form would work fine then as well. I cannot find an event that happens once after start of a form. A go button would do the trick but is not prefered as the application is used by very unskilled operators.
Does anyone have a mechanism for starting stuff after a form starts?