The ALT-TAB issue...!

From: Yocal (yocal_at_60696867.dk)
Date: 03/28/04


Date: 28 Mar 2004 01:09:33 -0800

Hi there,

I have a piece of software that has a visible mainform (positioned out
of the screen) - and i dont want it to show up in the ALT-TAB menu. I
have tried with the following code - but it doesnt seem to work. It
still shows up!

ShowWindow( Application.Handle, SW_HIDE );
SetWindowLong( Application.Handle, GWL_EXSTYLE,
                 GetWindowLong(Application.Handle, GWL_EXSTYLE) or
                 WS_EX_TOOLWINDOW and not WS_EX_APPWINDOW);
ShowWindow( Application.Handle, SW_SHOW );

Any help would be appreciated ;)

// Yoc.