Is there any way to force an Input Box to be "always on top"?
I need the two button style of an input box and so can not use
GUI to create my own.
TIA
Tony

Input Box Location
Started by
awenos
, Sep 20 2010 07:42 AM
4 replies to this topic
#1
-
Posted 20 September 2010 - 07:42 AM

Yes.Is there any way to force an Input Box to be "always on top"?
#SingleInstance, force SetTimer, onTop, 50 InputBox, OutputVar, This Input Box, enter something ; more code return onTop: if !WinExist("This Input Box") ; <-- title of the input or msgbox return WinSet, AlwaysOnTop SetTimer, onTop, offIn case you really meant a MsgBox, the same technique works. Just make sure you have the correct window title (of either the inputbox or msgbox) in the onTop timer subroutine.
Sure you can, and it is not much more difficult (and you can have as many buttons as you like). Search the Scripts and Functions forum for ready made replacement msgbox functions if you are interested)I need the two button style of an input box and so can not use
GUI to create my own.
#2
-
Posted 20 September 2010 - 10:10 AM

This has worked for me when using InputBox:
Gui +OwnDialogs +AlwaysOnTop InputBox, OutVar , Any Title, Your Prompt ; etc.
#3
-
Posted 19 January 2011 - 12:53 AM

This has worked for me when using InputBox:
Gui +OwnDialogs +AlwaysOnTop InputBox, OutVar , Any Title, Your Prompt ; etc.
But it is not what awenos asked.
This set all Gui windows on Top not only the inputbox window.
#5
-
Posted 06 September 2013 - 09:18 AM
