GregThompson Posted September 4, 2008 Share Posted September 4, 2008 What am I doing wrong here? Just a simple GUI, heck it could be ANY GUI, what is the variable/command/opt to keep the window on top at all times without an entry in the taskbar, just the systray?? Link to comment Share on other sites More sharing options...
Pain Posted September 4, 2008 Share Posted September 4, 2008 (edited) $WS_EX_TOPMOST or WinSetOnTop()? Edited September 4, 2008 by Pain Link to comment Share on other sites More sharing options...
GregThompson Posted September 4, 2008 Author Share Posted September 4, 2008 Thanks that works, but it doesnt remove the window from the taskbar. Link to comment Share on other sites More sharing options...
Pain Posted September 4, 2008 Share Posted September 4, 2008 $WS_EX_TOOLWINDOW Creates a tool window; that is, a window intended to be used as a floating toolbar. A tool window has a title bar that is shorter than a normal title bar, and the window title is drawn using a smaller font. A tool window does not appear in the taskbar or in the dialog box that appears when the user presses ALT+TAB. If a tool window has a system menu, its icon is not displayed on the title bar. Link to comment Share on other sites More sharing options...
youknowwho4eva Posted September 4, 2008 Share Posted September 4, 2008 what if you delete the gui so the tray icon is still there, then set it so you can double click the try icon to reinitiate the gui? Giggity Link to comment Share on other sites More sharing options...
GregThompson Posted September 4, 2008 Author Share Posted September 4, 2008 $WS_EX_TOOLWINDOW Creates a tool window; that is, a window intended to be used as a floating toolbar. A tool window has a title bar that is shorter than a normal title bar, and the window title is drawn using a smaller font. A tool window does not appear in the taskbar or in the dialog box that appears when the user presses ALT+TAB. If a tool window has a system menu, its icon is not displayed on the title bar.Doesn't work, don't ask me why but it doesn't...GUICreate("DSM Box Info: seclpcadsm01",200,100,-1,-1, $WS_EX_TOOLWINDOW) Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted September 4, 2008 Share Posted September 4, 2008 Doesn't work, don't ask me why but it doesn't...GUICreate("DSM Box Info: seclpcadsm01",200,100,-1,-1, $WS_EX_TOOLWINDOW)Check the helpfile again, $WS_EX_TOOLWINDOW is exStyle, not Style. They are not exchangeable. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
GregThompson Posted September 4, 2008 Author Share Posted September 4, 2008 Check the helpfile again, $WS_EX_TOOLWINDOW is exStyle, not Style. They are not exchangeable.Thanks Admiral, that worked, I feel silly, I mean the simple fact that it says EX in it.. duh... one last question, I'm attempting to add an Icon for the GUI, however because I'm doing $WS_MINIMIZEBOX to get rid of the minimize/restore/max buttons the icon also goes. Is there a way to add an icon that is JUST an icon, without the clickable context menu that normally would appear? Link to comment Share on other sites More sharing options...
GregThompson Posted September 5, 2008 Author Share Posted September 5, 2008 Thanks Admiral, that worked, I feel silly, I mean the simple fact that it says EX in it.. duh... one last question, I'm attempting to add an Icon for the GUI, however because I'm doing $WS_MINIMIZEBOX to get rid of the minimize/restore/max buttons the icon also goes. Is there a way to add an icon that is JUST an icon, without the clickable context menu that normally would appear?Nothing huh? Link to comment Share on other sites More sharing options...
youknowwho4eva Posted September 5, 2008 Share Posted September 5, 2008 couldn't you just set the case $msg = $gui_event_minimize to do nothing? Giggity Link to comment Share on other sites More sharing options...
LimeSeed Posted September 7, 2008 Share Posted September 7, 2008 couldn't you just set the case $msg = $gui_event_minimize to do nothing? if you dont want the icon in the tray put this at the beginning of your script #notrayicon global $warming = true Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now