Re: minimize button on a delphi created mainwindow not working on an XP system



you do not what to do any GUI stuff in formshow.
the kind of GUI that will trigger repaints etc..
if you need some GUI code of that type to be executed
there, I would suggest to post a user(custom) message to
your own app and handle it when the message is received.

The reason I say this is that i've had lots of experience
with failing GUI code in the formshow even. it normally just
seems like it never gets executed.

Good advice. Formshow was drawing a graph and connecting to servers for the
data. I have moved to separate thread and on reflection, triggering this
thread
with usermessage.

thanks


.


Quantcast