Question : Need to get the guaranteed HWND on startup of a form

I need a good insured method of getting the hwnd of a form when it starts up. I have tried the init, and activate event, but they do not seem reliable. When I query the hwnd of the form after what the init wants to say it is sometimes it is the last window that had the focus in windows. FoxPro seems to get this value too fast sometimes I guess.

Answer : Need to get the guaranteed HWND on startup of a form

What version are you using?

Thisform.hWnd does not work for you? The Activate is the ideal place for it.
Random Solutions  
 
programming4us programming4us