Q: SplashScreen component question


#1

Hi there!

Who knows how to prevent the SplashScreen component from appearing on the taskbar?
Who knows how to prevent any other child windows (e.g. child dialogs) from appearing on the taskbar?


#2

I don’t know if JUCE has built in stuff for doing this - I’ve never found it if so, but you may want to take a look at:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windowclasses/windowclassreference/windowclassfunctions/setwindowlongptr.asp

in particular, if you call SetWindowLongPtr() with its GWL_EXSTYLE parameter set to WS_EX_TOOLWINDOW you’ll switch your window to being a tool window (the quote below is from the MSDN page that details the different extended window types).

(see:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/createwindowex.asp ).

You can use the componentPeer class to get an HWND if memory serves.


#3

Check out the ComponentPeer::windowAppearsOnTaskbar flag, too…


#4

Thanks guys. Will definitely look through these :slight_smile:


#5