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 


SNAP... can't get it working
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Sun Aug 24, 2003 12:14 pm    Post subject: SNAP... can't get it working Reply with quote

Hi all,

when I use the SNAP dialog style, my dialog jumps across my screen instead of fixen to the left corner of the screen Laughing.

What am I doing wrong?

Vic

_________________
phpBB Development 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: Sun Aug 24, 2003 12:19 pm    Post subject: Reply with quote

Can you try this code to see what it does?

Code:
DIALOG CREATE,Nieuw Dialoog,-1,0,240,160,SNAP
DIALOG SHOW
wait event

_________________
[ 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
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Sun Aug 24, 2003 1:15 pm    Post subject: Reply with quote

Your code works....

But this try this one:
Code:

DIALOG CREATE,Nieuw Dialoog,-1,0,1024,721,SNAP
DIALOG SHOW
wait event


Vic

_________________
phpBB Development 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: Sun Aug 24, 2003 1:21 pm    Post subject: Reply with quote

I don't see it bouncing off my screen... Confused
_________________
[ 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
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Sun Aug 24, 2003 1:39 pm    Post subject: Reply with quote

Hmmm... what's your screen resolution? Mine is 1024x768. Perhaps that causes the problem at my computer.

Vic

_________________
phpBB Development 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: Sun Aug 24, 2003 2:14 pm    Post subject: Reply with quote

Mine is 1024x768 as well...
_________________
[ 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
Sanjuro
Contributor
Contributor


Joined: 01 May 2003
Posts: 59
Location: Norfolk-United Kingdom

PostPosted: Sun Aug 24, 2003 2:46 pm    Post subject: Reply with quote

Tried both scripts (above) and neither SNAPS for me.

Running 1400 x 1050

Sanjuro Smile

_________________
"Apparently three out of four people make up 75 percent of the population. Smile
Back to top
View user's profile Send private message MSN Messenger
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Sun Aug 24, 2003 4:04 pm    Post subject: Reply with quote

Nuttin' snappin' for me either - 1280 x 1024, WinXP

Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Sun Aug 24, 2003 6:01 pm    Post subject: Reply with quote

I think it was made to work with 800x600 and 1024x768 but it doesnot work on all display adapters. The amount to which you can move a dialog out of view on each border of the screen on a particular comp decides if it works. I noticeed this working on snap style imitation in VDS 4.x. I don't know the exact technical details as to why it should occur.

Regards

_________________
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
Sanjuro
Contributor
Contributor


Joined: 01 May 2003
Posts: 59
Location: Norfolk-United Kingdom

PostPosted: Sun Aug 24, 2003 7:00 pm    Post subject: Reply with quote

I am running an ATI mobility Radeon 7500, and this doesn't work at any of the normal resolutions. Mad

Sanjuro

_________________
"Apparently three out of four people make up 75 percent of the population. Smile
Back to top
View user's profile Send private message MSN Messenger
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Sun Aug 24, 2003 7:37 pm    Post subject: Reply with quote

Mine is a Viper V330, and snapping also doesn't work on 800x600... (running Windows XP professional)

Wouldn't it be a good idea to create a snap DSU? I don't think such a dsu will be hard to made.

Vic

_________________
phpBB Development Team
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: Mon Aug 25, 2003 3:06 am    Post subject: Reply with quote

As for the DSU I have already posted a code for VDS 4.x you can use it for vds 5.x also.
http://codescript.vdsworld.com/VDS5src/csNoTitleMoveSnap.zip
I might want to improve the method of getting the metrics further using API before writing a DSU. Also I am still waiting waiting ... for my license to arrive Evil or Very Mad

A fix by CR may be a better solution.
Regards

_________________
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
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Mon Aug 25, 2003 7:21 am    Post subject: Reply with quote

CodeScript wrote:
Also I am still waiting waiting ... for my license to arrive Evil or Very Mad


Perhaps it's time for you to get in touch with CR?? They state themselves in their reg confirmation : ".. 48 hours
maximum to receive your registration".

Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Mon Aug 25, 2003 10:24 am    Post subject: Reply with quote

Thanx for the info.
I finally got the registration few hrs back. They said there was a server problem.

Regards

_________________
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
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Mon Aug 25, 2003 10:30 am    Post subject: Reply with quote

Great. Happy compiling now Laughing

Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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