SHAHRAM Posted March 23, 2006 Share Posted March 23, 2006 I am trying to make GUI with 2 Extended Styles, $WS_EX_TOPMOST $WS_EX_TOOLWINDOW Is it possible? Link to comment Share on other sites More sharing options...
Josbe Posted March 23, 2006 Share Posted March 23, 2006 I am trying to make GUI with 2 Extended Styles, $WS_EX_TOPMOST $WS_EX_TOOLWINDOW Is it possible? Of course...(trying).. #include <GUIConstants.au3> GUICreate("Test", 300, 300, 192, 125, -1, BitOR($WS_EX_TOOLWINDOW,$WS_EX_TOPMOST)) GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
SHAHRAM Posted March 23, 2006 Author Share Posted March 23, 2006 #include <GUIConstants.au3> GUICreate("Test", 300, 300, 192, 125, -1, BitOR($WS_EX_TOOLWINDOW,$WS_EX_TOPMOST)) GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd Thanks alot for your quick reponse, It worked. I was wondering , there is no way to make a Popup (with no captions) movable? Link to comment Share on other sites More sharing options...
GaryFrost Posted March 23, 2006 Share Posted March 23, 2006 #include <GUIConstants.au3> GUICreate("Test", 300, 300, 192, 125, -1, BitOR($WS_EX_TOOLWINDOW,$WS_EX_TOPMOST)) GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd Thanks alot for your quick reponse, It worked. I was wondering , there is no way to make a Popup (with no captions) movable? http://www.autoitscript.com/forum/index.ph...ndpost&p=155612 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
SHAHRAM Posted March 24, 2006 Author Share Posted March 24, 2006 Thanks again, the code is working, I am using <Opt("GUIOnEventMode", 1)>, I had to change it a litle bit to work with my settings, but it's working. Thanks again 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