I'm currently using ShowWindow( hwnd, SW_HIDE )
, but AltTab still seems to be able to switch to it after it's hidden.
Is there a way to completely hide a window without destroying it?
EDIT: I should add that using the WS_EX_TOOLBOX
style doesn't help. With enough AltTab and ShowWindow(SW_SHOW)
, some strange things happen.