Perhaps you can fool windows (hey, its microsoft ) by sending a WM_ACTIVATE or whatever message is used to activate your form?