lifeson
asked on
procedure WndProc
Im making an application that, initialy, it runs invisible. So, the property Form1.Visible is initialy False. But, when it starts, the application reads the procedure WndProc, and it turns that property to True. I tried to put an If structure at WndProc, like:
if a=0 then
Form1.Visible := False
else
Form1.Visible := True; ,
but, when i do that, the application doesn't appears anymore. What can i do and why the procedure WndProc is so unstable (it's readen more than 1000000 times at the start up).
if a=0 then
Form1.Visible := False
else
Form1.Visible := True; ,
but, when i do that, the application doesn't appears anymore. What can i do and why the procedure WndProc is so unstable (it's readen more than 1000000 times at the start up).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.