Sign in to follow this  
Followers 0
SHAHRAM

2 Extended Styles

5 posts in this topic

I am trying to make GUI with 2 Extended Styles,

$WS_EX_TOPMOST

$WS_EX_TOOLWINDOW

Is it possible?

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

#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?

Share this post


Link to post
Share on other sites

#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.

 

Share this post


Link to post
Share on other sites

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

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