Jump to content
Sign in to follow this  
behdadsoft

Set Created GUI to right corner

Recommended Posts

Hi.

I create a GUI with GUICreate() Function, Now I need put it to right corner of Desktop screen (that work with all resolution) like a gadget.

please guide Me.

Thanks.

Share this post


Link to post
Share on other sites

 

Something like...

$width = 200
$height = 200

GUICreate("GUI", $width, $height, @DesktopWidth - ($width + 1), 0)
GUISetState()

Do
Until GUIGetMsg() = -3

 

this script put my GUI to outside left corner.

 

works fine on my computer, sent to top right corner of desktop.

:alien:


If @error Then
    MsgBox(262192, "", @ComputerName & " slaps " & @UserName & " around a bit with a large trout!")
    EndIf

"Yeah yeah patience, how long will that take?"  -Ed Gruberman

REAL search results

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...