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 


Right click popup menu - Icons and Spaces between words

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


Joined: 10 May 2001
Posts: 789

PostPosted: Mon Jan 07, 2002 7:26 pm    Post subject: Right click popup menu - Icons and Spaces between words Reply with quote

Hi,

Is there a way to add an icon next to each menu items when I do

dialog popup,File|Open|exit

for example.

The other question is if I put
dialog popup,File Open|Save as...|Close app

It doesnt seem to accept file openMENU afterwards. I have to put FileOpen for the name of the item to work.

Any ideas, thanks
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Mon Jan 07, 2002 8:23 pm    Post subject: Reply with quote

Hey marty, :)

The syntax of a MENU item is case-sensitive, so if
you have "File Open" as a menu item, the label name
must be ":File OpenMENU" not "file openMENU" (the
"menu" part is not case-sensitive).

You can't have icons in MENU items in VDS3. I don't
know about VDS4 (but I doubt it).

However, you should be able to create your own popup
menu using a child dialog, and make it look pretty much
however you want (icons, etc.)...

Cheers, Mac

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
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 Jan 07, 2002 8:29 pm    Post subject: Reply with quote

Well thanks Mac, my mistake... Embarassed
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Mon Jan 07, 2002 10:36 pm    Post subject: Reply with quote

I posted a custom popup menu example in the
VDS3 Source Code section. It should work in
VDS4 too.

You could also use a bitmap for the whole child
dialog menu, and use XY coordinates for each
menu item... Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
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