Jump to content



Photo

GUI Slide-In effect

gui slide effect

  • Please log in to reply
3 replies to this topic

#1 jWalker

jWalker

    Wayfarer

  • Active Members
  • Pip
  • 95 posts

Posted 19 October 2011 - 05:38 AM

Hey!

Is it possible to let a GUI slide in from the right bounds of the desktop?

I am making a settings-GUI where all necessary settings can easily be done in one window

When my mouse reaches a zone on the right of my desktop, a GUI should slide in...

I achieved this some time ago with a single control of a GUI... GUICtrlSetPos; But there is no GUISetPos Function...
Can i achieve this in any other way?
Or do you know better ways to bring this GUI to my screen?







#2 Kip

Kip

    When done learning: die

  • Active Members
  • PipPipPipPipPipPip
  • 1,685 posts

Posted 19 October 2011 - 06:29 AM

I achieved this some time ago with a single control of a GUI... GUICtrlSetPos; But there is no GUISetPos Function...


No, but there is WinMove. Just pass the window handle returned from GUICreate as the first parameter, and leave the second one empty.

Like this:
WinMove($hWnd, "", $x, $y)

Edited by Kip, 19 October 2011 - 06:33 AM.

There's a big chance this post has been edited.Posted Image

#3 Mat

Mat

    43 38 48 31 30 4E 34 4F 32

  • MVPs
  • 4,097 posts

Posted 19 October 2011 - 06:56 AM

See this post: http://www.autoitscript.com/forum/topic/19370-autoit-wrappers/page__st__60__p__199609#entry199609

I don't know where I'm going, but I'm on my way.

AutoIt Project Listing


#4 jWalker

jWalker

    Wayfarer

  • Active Members
  • Pip
  • 95 posts

Posted 19 October 2011 - 07:18 AM

Thanks mat!

This fade in style is very cool!

no need to roll it in anymore :graduated:





Also tagged with one or more of these keywords: gui, slide, effect

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users