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 


Mirror Window VDS 5.x + Win2k+

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced VDS 5 Source Code
View previous topic :: View next topic  
Author Message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Sat Jul 05, 2003 8:08 am    Post subject: Mirror Window VDS 5.x + Win2k+ Reply with quote

Mirror Window VDS 5.x + Win2k+

This looks funny. All text including title is mirrored.
I really dont concieve any great use out of it. You can use as a joke etc.
Code:

___________________________________________________________________________
#-----------------------------------------------------------------------------#
#-Calling a Non-VDs dll Mirror Window by CodeScript---------------------------#
#-Author: CodeScript----------------------------------------------------------#
#-Copyright: You can remove this info while Using this code in your app.------#
#-----------------------------------------------------------------------------#
REM USE AT YOUR OWN RISK !!
REM MISTAKES MADE WHILE USING A NON VDS DLL MAY INVITE A VDS/SYSTEM CRASH.
REM SAVE YOUR WORK BEFORE RUNNING/DEBUGGING THIS SCRIPT.
  Title Mirror Window by CodeScript
  DIALOG CREATE, Mirror Window by CodeScript,-1,0,356,120,CLASS MYWIN,resizable
  DIALOG ADD,BUTTON,OK,70,112,130,24,! Close
  DIALOG ADD,TEXT,TEXT1,35,57,,,The World is Reversed here !
  DIALOG SHOW
  REM RESIZE TTHE WINDOW A BIT FOR THE CHANGES TO OCCUR
  REM ELSE STYLE WILL CHANGE ONLY AFTER A MINIMIZE ETC.
  LOADLIB USER32
%H = @strdel(@WINEXISTS(#MYWIN),1,1)
 IF %H
      %H = @lib(user32,SetWindowLongA,INT:,%H,-20,600000000)
         ELSE
   ERROR -1
  end
  FREELIB USER32
  Window POSITION,#MYWIN,,,,150

:RESIZE
 goto EVLOOP

:Evloop
  wait event
  goto @event()

:OKBUTTON
:Close
   exit

You can replace 600000000 with
1. 400000000 to get non-bevelled window.
2. 300000000 for a bevelled window with a little thicker frame.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension


Last edited by CodeScript on Sat Jul 05, 2003 4:52 pm; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sat Jul 05, 2003 9:37 am    Post subject: Reply with quote

Don't try this one, like me... #Shell_TrayWnd... Crying or Very sad
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Sat Jul 05, 2003 10:53 am    Post subject: Reply with quote

Skit3000 wrote:
Don't try this one, like me... #Shell_TrayWnd... Crying or Very sad


Why what happened ? Really sorry if it has caused some serious harm. Embarassed Shocked Shocked works well on my Xp machine _tried again . what OS U where on. I could not get.
BTW the script is of no great use and I have removed it pending your answer.
Also anyone has problems with this one I'm sorry and please let me know.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sat Jul 05, 2003 11:45 am    Post subject: Reply with quote

Skit3000 wrote:
Don't try this one, like me... #Shell_TrayWnd... Crying or Very sad


My guess is maybe Skit was testing it and changed the sample window
class in the code to #Shell_TrayWnd and maybe it messed up the
task bar... Confused

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sat Jul 05, 2003 4:06 pm    Post subject: Reply with quote

Yup... Wink I also found out that the start-button is on the right, but that the other 'Quick Start' links remain on their place... You can try it if you like, you can close and restart explorer.exe with the Task Manager afterwards without having to reboot...
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Sat Jul 05, 2003 4:45 pm    Post subject: Reply with quote

Ok if U change ths app title class to this it happens. else I didn't find any harm it does - tried on 3 different computers with Win Xp and home. dont have access to Win 2000. Anyway it wont work on win9x.
I am restoring the code back.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Sat Jul 05, 2003 5:57 pm    Post subject: Reply with quote

To get a beeter result(icons appear and are in the corresponding position) you can use Just great window and Mac style window codes one after the other. To Undo just change taskbar proerties to autohide and back. No need for kicking off the explorer.

Anyway I stongly advice against any person new to computers etc trying/playng this. Wink

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced VDS 5 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