CreateToolBarEx API code example in VB !

Hi,

I have looked everywhere and I coudn't find a single VB code to demonstrate how to use this API function :( ...all I have found is some snippets but written in C.

MSDN code samples are also in C not VB .what a shame :(

Basically, I want to create a toolbar from scrach using this API or CreateWindowEx but I don't know how.

Anyone has or has ever seen a VB  code snippet that makes use of either of the two above API functions for creating a ToolBar ?

Thanks.
RAFAAJAsked:
Who is Participating?
 
AzraSoundCommented:
http://www.vbaccelerator.com/home/vb/code/Controls/Toolbar/vbAccelerator_ToolBar_and_CoolMenu_Control/article.asp


It's a full control, so there may be a lot of extra you aren't interested in.  I looked at the source real quick and see he used CreateWindowEx in a CreateToolbar function he wrote here:

http://www.vbaccelerator.com/home/vb/code/Controls/Toolbar/vbAccelerator_ToolBar_and_CoolMenu_Control/VB6_Toolbar_Complete_Source_zip_cToolbar_ctl.asp
0
 
RAFAAJAuthor Commented:
Thanks AzraSound.

This is an extremely long code which makes it difficult to follow. I was hoping to get a shorter and more digestable demo code so I could understand the basics for creating a ToolBar using the CreateToolBarEx or CreateWindowEx APIs.

Regards.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.