how to do something after all controls are created

Started by Don Dickinson, June 08, 2004, 07:19:39 PM

Previous topic - Next topic

Don Dickinson

does anyone know where to put code that i need executed exactly one time after all of the controls in a window are created? i don't think its safe to put in the WM_CREATE of the form (is it?) as i don't know if all the children are created at this point.

tia,
don

Roger Garstang

If you look in the generated code the call to [formname]_CreateControls(hWndForm) comes right before FF_nResult = [formname]_WM_CREATE (hWndForm)

sounds safe to me...

Don Dickinson

thanks! duh, i should have just looked at the source.
i appreciate the help.
--don