Jump to content
Sign in to follow this  
Nova

WinSlide

Recommended Posts

Good morning,

I wrote these UDF'S because I was sliding graphics around alot in a couple of my Gui script, not sure if your remember my menu systems.

Anyways I was just wondering if anyone else would find them usefull.

It seems im the only one making gui's with moving graphical effects.

Anyway if you get a spare min, plz test out these 2 UDF'S and let me know if you think you would ever use them.

1:Copy the include files (_WinSlideX.au3 and _WinSlideY.au3) to your \Include folder

2:Then just run the examples (_WinSlideX_ Example.au3 and _WinSlideY_ Example.au3)

Nova

Edited by Nova

Share this post


Link to post
Share on other sites

Very well...I would mix these two functions in one only.

And to use a parameter like -1 for anyone "X" or "Y" coordinates, to establish a movement for any axis only (X or Y).

And probably to add speed....example:

_WinSlide($hwnd, $iXpos, $iYpos, $nSpeed)

Just a thought. :idiot:

Share this post


Link to post
Share on other sites

Tnx guys

Ill edit the UDF'S later 2nite, got visitors over till about 8.

Ill make them work on the minus axis and add both functions together as you suggested, should be easy enough, just have to work out a ratio of x is to y and the slide.

As for the speed option, I have already tryed to impliment this myself and failed.

But ill give it another go.

Ill post the updates in a while.

Edit:I forgot it already works on the minus axis.

Example _WinSlideY($hwnd, -100)

Edited by Nova

Share this post


Link to post
Share on other sites

Good morning,

I wrote these UDF'S because I was sliding graphics around alot in a couple of my Gui script, not sure if your remember my menu systems.

Anyways I was just wondering if anyone else would find them usefull.

It seems im the only one making gui's with moving graphical effects.

Anyway if you get a spare min, plz test out these 2 UDF'S and let me know if you think you would ever use them.

1:Copy the include files (_WinSlideX.au3 and _WinSlideY.au3) to your \Include folder

2:Then just run the examples (_WinSlideX_ Example.au3 and _WinSlideY_ Example.au3)

Nova

<{POST_SNAPBACK}>

hi Nova :idiot: wörks great!

Share this post


Link to post
Share on other sites

Ok heres the new version _WinSlide($hwnd, $iXpos, $iYpos, $nSpeed)

Do the same as last time

1\Copy _WinSlide.au3 to your include folder

2\Run _WinSlide_Example.au3

3\Let me know what you think.

Edit: I would suggest that you keep $nSpeed in the range of (1-5), actually I might fix it so that there are 5 set speeds, anything higher that 5 moves very very slowly.

Nova

Edited by Nova

Share this post


Link to post
Share on other sites

Ok heres the new version _WinSlide($hwnd, $iXpos, $iYpos, $nSpeed)

Do the same as last time

1\Copy _WinSlide.au3 to your include folder

2\Run _WinSlide_Example.au3

3\Let me know what you think.

Edit: I would suggest that you keep $nSpeed in the range of (1-5), actually I might fix it so that there are 5 set speeds, anything higher that 5 moves very very slowly.

Nova

Anyone still have these?


Current Projects:Remote Administration Suite Updated! 12-20-07Remote User State Migration Tool (Plugin) Updated! 12-20-07Batch Print Wizard Updated! 12-20-07Links:AutoIt Beta | AutoIt Wiki

Share this post


Link to post
Share on other sites

i dunno if im blind or something...but i dont see any attachements.


The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

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