jennico Posted November 6, 2008 Posted November 6, 2008 from help file: $WS_EX_TOOLWINDOW 0x00000080 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. However, you can display the system menu by typing ALT+SPACE.how do i get the icon to the title bar ? GUICreate("tool window",100,50,Default,Default,-1,0x80);$WS_EX_TOOLWINDOW GUISetIcon("shell32.dll",42) GUICtrlCreateIcon("shell32.dll",42,0,0) GUISetState() While 1 Sleep(1) WEnd thx j. Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96
jennico Posted November 6, 2008 Author Posted November 6, 2008 GUICreate("tool window",100,50,Default,Default,0,0x80);$WS_EX_TOOLWINDOWoÝ÷ ÚØb²+0ØhºÛ2²g§¹»²Ø¥z"ræk&Þh¬ºw^®ËZØ^âæ®¶sduT7&VFRgV÷C·FööÂvæF÷rgV÷C²ÃÃS¤uT6WE7GÆRòb33cµu5ôUõDôôÅtäDõ this is funny, but no icon either. j. Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96
ResNullius Posted November 6, 2008 Posted November 6, 2008 (edited) Are you basically looking for a regular GUI that doesn't show up in the task bar?Or do you want something that looks and behaves just like a TOOLWINDOW but with an icon in the title bar?Edit: by the way, I think when the helpfile says If a tool window has a system menu, its icon is not displayed on the title bar. However, you can display the system menu by typing ALT+SPACE. what it really means is:"Tool windows don't have icons in the titlebar, so if your tool window has a sysmenu, the only way to access it is by typing ALT+SPACE" At least that's what I gather from reading other info about the TOOLWINDOW EXStyle. Edited November 6, 2008 by ResNullius
jennico Posted November 7, 2008 Author Posted November 7, 2008 hmmm, so it is only a bad formulation ? definitely no icons for tool windows ? j. Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96
ResNullius Posted November 7, 2008 Posted November 7, 2008 (edited) hmmm, so it is only a bad formulation ?definitely no icons for tool windows ?j.These two options will give you a GUI with a Title bar icon and no presence in the task bar:This one by smashly doesn't show up in ALT-TAB list: http://www.autoitscript.com/forum/index.ph...st&p=562033This one by martin does: http://www.autoitscript.com/forum/index.ph...st&p=506311 Edited November 7, 2008 by ResNullius
jennico Posted November 7, 2008 Author Posted November 7, 2008 nono, i want a tool window Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96
ResNullius Posted November 7, 2008 Posted November 7, 2008 (edited) nono, i want a tool windowNot going to happen (at least easily). According to: MS Knowledge Base PRB: WS_EX_TOOLWINDOW Windows Do Not Show System Menu IconThis behavior is by designI have read some about hooking window creation/painting to add extra buttons to the caption area, and I'm sure you could simulate an icon with a custom button, but it sure don't look simple.( http://catch22.net/tuts/titlebar & http://www.codeproject.com/KB/vb/transmenu...tlebuttons.aspx )" Edited November 7, 2008 by ResNullius
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