alexpere Posted February 11, 2005 Share Posted February 11, 2005 I'm currently using the command:GUICreate($progName, 350, 400, -1, -1, BitOr($WS_CAPTION, $WS_POPUP))to create a very simple GUI window with no close buttons, etc. I want this window to always stay on top. I've tried the switches $DS_MODALFRAME (which I guess won't work because it's not a dialog) and $WS_EX_TOPMOST to no avail.Has anyone else done this with success that can help me out? Link to comment Share on other sites More sharing options...
CyberSlug Posted February 11, 2005 Share Posted February 11, 2005 This should stay on top (unless other windows also have the "topmost" property):#include <GuiConstants.au3> GUICreate("Example", 350, 400, -1, -1, BitOr($WS_CAPTION, $WS_POPUP), $WS_EX_TOPMOST) GuiSetState() While GuiGetMsg() <> $GUI_EVENT_CLOSE WEndYou could also AutoIt's WinSetOnTop function Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
alexpere Posted February 11, 2005 Author Share Posted February 11, 2005 Thanks CyberSlug, there's so many options these days and I was choosing the complicated one! 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