ihudson Posted December 21, 2007 Share Posted December 21, 2007 (edited) I've created a Inputbox but it shows the standard Autoit icon in the Window's Title area. How can I change this to a custom icon? View attachment to see what I mean. (window_title2.png) Edited December 21, 2007 by ihudson Link to comment Share on other sites More sharing options...
polaris Posted December 21, 2007 Share Posted December 21, 2007 Im pretty new around here. so i dont really know.....but it should definately be possible sorry i can't help PS: this is what part of the alphabet would look like if Q and R were eliminated Link to comment Share on other sites More sharing options...
Richard Robertson Posted December 21, 2007 Share Posted December 21, 2007 What's the point in posting if you are only saying you have nothing to add? Have you tried changing the executable icon? Link to comment Share on other sites More sharing options...
MrCreatoR Posted December 21, 2007 Share Posted December 21, 2007 See Custom InputBox in my signature, you can set icon (GUISetIcon) after GUICreate part (inside the function _InputBox). Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team Link to comment Share on other sites More sharing options...
therks Posted December 22, 2007 Share Posted December 22, 2007 As an offshoot to this question: When you use GUISetIcon, it does not change the icon found in the Alt+Tab menu, any ideas how to change that? My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
The Ape Posted December 22, 2007 Share Posted December 22, 2007 I don't understand the problems... If it's compiled, the input box adopts the exe icon... and alt+tab as well. FixJaw.comTriad-Art.com Link to comment Share on other sites More sharing options...
MrCreatoR Posted December 22, 2007 Share Posted December 22, 2007 When you use GUISetIcon, it does not change the icon found in the Alt+Tab menu, any ideas how to change that?It does when you compile the script If it's compiled, the input box adopts the exe iconAnd what if he (we) want to set a different icon for the inputbox or/and for other gui? Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team Link to comment Share on other sites More sharing options...
The Ape Posted December 22, 2007 Share Posted December 22, 2007 And what if he (we) want to set a different icon for the inputbox or/and for other gui?Then he/we should use your "Custom InputBox" ...... or make his/our own. FixJaw.comTriad-Art.com Link to comment Share on other sites More sharing options...
therks Posted December 22, 2007 Share Posted December 22, 2007 Here was my issue. I have a program, it has two GUI windows. Using GUISetIcon, one window uses Icon1.ico as it's titlebar icon, the other window uses Icon2.ico as it's titlebar icon. When I Alt+tab between the two windows, they have the same icon, the AutoIt3.exe icon or, if I compile the program, the icon it was compiled with. I wanted to know if there was a way for the Alt+Tab icon to be different, without having to compile two separate programs. My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
MrCreatoR Posted December 24, 2007 Share Posted December 24, 2007 I wanted to know if there was a way for the Alt+Tab icon to be different, without having to compile two separate programs.As far as i know, this icon is taken (*by Windows*) from the executable, so i do not think you can set a seperate icon for each GUI (for the Alt+Tab dialog)...Have you seen such "effect" in other apps? Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team Link to comment Share on other sites More sharing options...
therks Posted December 24, 2007 Share Posted December 24, 2007 As far as i know, this icon is taken (*by Windows*) from the executable, so i do not think you can set a seperate icon for each GUI (for the Alt+Tab dialog)...Have you seen such "effect" in other apps?I thought I had, but I'm unable to find an application that does it now. My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
ihudson Posted December 25, 2007 Author Share Posted December 25, 2007 See Custom InputBox in my signature, you can set icon (GUISetIcon) after GUICreate part (inside the function _InputBox).Thank you all! I'll try that Custom InputBox in your sig. 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