Link to home
Start Free TrialLog in
Avatar of lifeson
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).
ASKER CERTIFIED SOLUTION
Avatar of d003303
d003303

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial