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 


VDSDB.DLL Where art thou?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
Woody
Valued Newbie


Joined: 10 Jul 2003
Posts: 29

PostPosted: Tue Oct 28, 2003 3:34 pm    Post subject: Reply with quote

CodeScript,

Thanks for the assistance!

What I am looking to do is to create a plugin for another app in short. I want to create a new menu on the app. So very similar to what you have given as an example but a standard menu w/ menu items instead of a pop-up menu. Will the setparent.zip work for this?

Thank you, Smile

_________________
- Woody
Back to top
View user's profile Send private message AIM Address
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Tue Oct 28, 2003 4:02 pm    Post subject: Reply with quote

I think U need a dll for that.
_________________
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
Woody
Valued Newbie


Joined: 10 Jul 2003
Posts: 29

PostPosted: Tue Oct 28, 2003 4:08 pm    Post subject: API Reference Reply with quote

CodeScript,

Reviewing the API reference I believe what I would need to use is CreateMenu verses CreatePopupMenu both contained in the user32.lib.

Does this sound accurate to you? Shocked

Thanks,

_________________
- Woody
Back to top
View user's profile Send private message AIM Address
Woody
Valued Newbie


Joined: 10 Jul 2003
Posts: 29

PostPosted: Tue Oct 28, 2003 4:18 pm    Post subject: DLL Approach Reply with quote

I have also looked into the vdswnd.dll approach to this issue as well. However I am unable to get the vdswnd.dll to function in vds 5 or the wnd command to function (with the vdsdll.dll from vdsdll3) in vds 5. Crying or Very sad
_________________
- Woody
Back to top
View user's profile Send private message AIM Address
Vic D'Elfant
Past Contributor
Past Contributor


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

PostPosted: Tue Oct 28, 2003 6:11 pm    Post subject: Reply with quote

You could try the ssmenu.dll. If you use the window class of the main exe, you should propably be able to add a menu to that window and catch the events in your own program Confused

Regards,
Vic

BTW:
I don't know if you're trying to create plugin for MSN, but if so, you can only add your menus to the 'conversation' windows, not to the main exe Laughing

_________________
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: Tue Oct 28, 2003 6:22 pm    Post subject: Reply with quote

Woody wrote:
Reviewing the API reference I believe what I would need to use is CreateMenu

Yes you can create and display a menu bar and menu but you should respond to it too.
VDS runtime recieves the menu events by WM_COMMAND messages.
Now if you change the parent these messages would be posted to your foreign window and that won't respond anyway. I have checked it. It's not possible as far as I believe though I may stand corrected.

So you need to setup a hook (using a dll) and get a copy of the WM_COMMAND messages and findout which menu item user has clicked.
Poupmenus events are tracked in a different way irrespectibe of where the menu is displayed the parent remains same.

IMHO you can imitate a menu somewhat by using bitbtns/aniicons in a row.

_________________
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 -> Wish List All times are GMT
Goto page Previous  1, 2
Page 2 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