Hide Taskbar icon of a window
Posted: Sat Feb 22, 2003 10:52 am
Code updated for 5.20+
Restored from previous forum. Originally posted by Eddy.
My 3rd contribution
If you want to hide window taskbar icon
Change standard window to toolbar style window...Eheh
Easy way to do it.
Looks, one icon eh eh 
Armageddon command : Format All +S +Pain \now
Restored from previous forum. Originally posted by Eddy.
My 3rd contribution
If you want to hide window taskbar icon
Change standard window to toolbar style window...Eheh
Easy way to do it.
Code: Select all
;**********************************************
#WINDOW_LIBRARY = 0
Style.l = #WS_POPUPWINDOW|#WS_DLGFRAME|#WS_CLIPSIBLINGS|#DS_MODALFRAME|#DS_3DLOOK ;Toolbar style
OpenWindow(#WINDOW_LIBRARY, 100, 100, 250, 305, "Blitz libraries",Style)
*NewExStyle = #WS_EX_TOOLWINDOW; Toolbar ExStyle
SetWindowLong_(WindowID(#WINDOW_LIBRARY), #GWL_EXSTYLE, *NewExStyle);Set ExStyle
SetWindowPos_(WindowID(#WINDOW_LIBRARY), #HWND_TOPMOST,0,0,0,0,#SWP_NOMOVE|#SWP_NOSIZE);Always on top
Repeat
Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow
;**********************************************

Armageddon command : Format All +S +Pain \now