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 


Hotspot on graphic

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
noveltech
Contributor
Contributor


Joined: 16 Sep 2002
Posts: 105

PostPosted: Mon Sep 16, 2002 1:20 pm    Post subject: Hotspot on graphic Reply with quote

DIALOG ADD,BITMAP,BITMAP1,1,0,406,199,justin.bmp

If the above bitmap is 406 x 106...how can multiple hotspots and/or click events be added to specific locations on the graphic?

Thank you for all feedback.

Confused Jennefer with noveltech
Back to top
View user's profile Send private message
Que
Valued Newbie


Joined: 25 Aug 2001
Posts: 38
Location: Newaygo, MICH

PostPosted: Mon Sep 16, 2002 2:59 pm    Post subject: Reply with quote

Garret Posted an example using VDSDLL by Tommy.

http://www.vdsworld.com/index.php?page=download&fileid=116
gets you the example
and
http://www.vdsworld.com/index.php?page=download&file=vdsdll.dll
gets you the dll. version 2.7

_________________
Que
Back to top
View user's profile Send private message Send e-mail
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Mon Sep 16, 2002 3:17 pm    Post subject: Reply with quote

Here's how I do it...

In VDS 4 I use the transparent style for the TEXT dialog element with no text just a region, it works perfectly..

Code:
DIALOG CREATE....
DIALOG ADD, BITMAP,.....

DIALOG ADD,TEXT,Test,327,140,57,29,,MyTooltip,transparent,click,hand

:TestCLICK
  info Hello
  goto evloop


Hope this helps...
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Que
Valued Newbie


Joined: 25 Aug 2001
Posts: 38
Location: Newaygo, MICH

PostPosted: Mon Sep 16, 2002 3:29 pm    Post subject: Reply with quote

well there ya go. I might just use that myself now that I realize it's THAT easy (I use 4.5 myself).

thx.

_________________
Que
Back to top
View user's profile Send private message Send e-mail
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Mon Sep 16, 2002 5:25 pm    Post subject: Reply with quote

Besides using a text element, you can use another bmp element without
pointing to any bmp and use it the same manner as the text element.

-Garrett
Back to top
View user's profile Send private message
noveltech
Contributor
Contributor


Joined: 16 Sep 2002
Posts: 105

PostPosted: Mon Sep 16, 2002 9:26 pm    Post subject: Thank You! Reply with quote

Thank you guys for all your help and assistance. It's working.
Back to top
View user's profile Send private message
Skit3000
Admin Team


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

PostPosted: Tue Sep 17, 2002 5:34 pm    Post subject: Reply with quote

You can also give the bitmap a click style, and then use @click() to retrieve the position. Then, use if @both(@greater(@click(x),90),@greater(150,@click(x))). The same for the Y positions... Then you have a multiply click bitmap, without the use of any dll... I think it is only handy in vds 3.51, because 4.* has a transparant style...
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
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