Really activate window on Win98
I inserted all known commands for activating dialog box, but it appears greyed (non-activated) on Win98 - user still must click the mouse to reach window. Therefore on W2K dialog behaves OK.
Is this problem related with my actions before DialogBox? But I really have no owner window - need to start with DialogBox. Anyone uses this technique?
DIALOG DISCARDABLE STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
DialogBox( GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_START), NULL, StartProc);
BOOL CALLBACK StartProc(HWND hstart, UINT Message, WPARAM wParam, LPARAM lParam)
SetWindowPos((struct HWND__ *)hstart, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);