Page 1 of 1
MsgBox - can I position?
Posted: 19 Apr 2018, 20:20
by omar
I need to have a graphic appear in the middle - intentionally always ontop and big.
I also need msgbox's - mainly for testing - but for other warning as well.
PROBLEM: it comes below the always ontop GUI
What can I do?
Thanks.
Re: MsgBox - can I position?
Posted: 19 Apr 2018, 21:11
by poetbox
msgbox
moveto
Re: MsgBox - can I position?
Posted: 20 Apr 2018, 01:36
by Odlanir
Code: Select all
OnMessage(0x44, "WM_COMMNOTIFY")
MsgBox This doesn't require a timer or custom GUI.
ExitApp
WM_COMMNOTIFY(wParam) {
if (wParam = 1027) { ; AHK_DIALOG
Process, Exist
DetectHiddenWindows, On
if WinExist("ahk_class #32770 ahk_pid " . ErrorLevel) {
WinGetPos,,, w
WinMove, A_ScreenWidth-w-30, 30
}
}
}
Re: MsgBox - can I position?
Posted: 30 May 2018, 08:40
by omar
@Odlanir awesome. Just tried now. Perfect
@Poetbox your suggestion would seem easier - but I couldn't look up any details?
Re: MsgBox - can I position?
Posted: 30 May 2018, 08:59
by Tomer
Re: MsgBox - can I position?
Posted: 30 May 2018, 09:05
by omar
@tomer
looks awesome
will try out
thanks