Sign in to follow this  
Followers 0
chelseafc

Making always on top gui

2 posts in this topic

Hello,

i m trying to make an always on top gui box.

sorry for asking to write for me but i really dont know how to make these functions

i want to display a 150x30 image giu box with no quit, minimize and maximize bar on top. I want it the at bottom right corner just above the tray menu (PLease help me find the co-ordinates). And lastly if anyone knows how to make it always on top that would bne perfect. :(:(

Many thanks.

Au3 starter

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Check the helpfile for GUICreate, about topmost your have to use $WS_EX_TOPMOST bits as extended style.

You have to press ALT+F4 for closing this...

#NoTrayIcon 
#include <GUIConstants.au3>

GUICreate("My GUI", 150, 30, -1, -1, BitOr($WS_BORDER, $WS_POPUP), BitOR($WS_EX_TOPMOST, $WS_EX_TOOLWINDOW))
GUISetState (@SW_SHOW)
;Just add a picture...

While 1
    $msg = GUIGetMsg()
    
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend
Edited by ezzetabi
1 person likes this

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0