forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Animate Window using VDSUG.DLL

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 4 Source Code
View previous topic :: View next topic  
Author Message
kOt
Contributor
Contributor


Joined: 19 Jan 2004
Posts: 89
Location: Fyffe, AL

PostPosted: Mon Jan 19, 2004 2:15 pm    Post subject: Animate Window using VDSUG.DLL Reply with quote

This will animate the window at start up plus in VDS4 it will retain the WinXP look and not look like Classic Windows
I have not tested all of these out. so be careful
Code:
This came from SnarlingSheep or Codescript
Styles are:
Roll animation.
  00020000
Slide animation.
  00040000
  Roll/Slide need to be used with one of the following:
     Right    00000001
     Left     00000002
     Down     00000004
     Up       00000008
Add RIGHT/LEFT with UP/DOWN for diagonal effects.
::
Fade effect. Can be used only if hwnd is a top-level window.
  Win 2000 or higher
  00080000
::
Makes the window appear to collapse inward if HIDE is used or expand
outward if the Hide is not used.
  00000010
::
  Hide    00010000

Code:

external vdsug.dll
ug dllload,1,user32.dll
ug dllinitfunc,1,2,AnimateWindow

dialog create,test,-1,0,200,200,class test
%w = @winexists(#test)
option errortrap,trap1
%x = @ug(dllfunc,AnimateWindow,int,handle:%w,int:500,int:@hex(00040004))
dialog show
:errortrap

:evloop
    wait event
    goto @event()

:close
    exit

_________________
Visual Dialogscript 5
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 4 Source Code All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group