>Is there a way to activate a child IDE window (code window, etc.) using a Win32 API call? I have the hWnd, but for some reason I can't get it to activate from a toolbar button. I've tried SetWindowPos(), ShowWindow(), SetActiveWindow(), and SetForegroudWindow(), but none of these seem to work. Will VFP allow activating a window in this manner?
Hi Joel,
You can Post/Send WM_ACTIVATE Message. Try something like this:
PostMessage( hWnd, 6, 1, 0 )
HTH
Herman