VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



A Great Menu with images / icons

by Andrés F. Gallo (1 Submission)
Category: OLE/COM/DCOM/Active-X
Compatability: Visual Basic 5.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (45 Votes)

This is my first upload to vbcoders, I wanted to help with any thing and because it is one of my favourite projects, I place it; I hope it would by helpful for you, it is not well explained but it is very easy to understand.
This is a control that put images (bmp, jpg, gif...) or icons (ico, cur...) in a menu or in a sub menu, it was proved in Windows ME / 9X and in Windows XP / NT (See the ScreenShot), it have an user control, an OCX, two projects (The menu control and the test), and a group, that is the one that you have to open, this works with any windows ImageList or similar controls, and in any form with any number of menus, when you place the control in the form, you have to set its property of visible in false, because I could not use to InvisibleAtRunTime property in the user control because it crashes.
IMPORTANT:
To place the images into a menu or sub menu, you have to: first place a picture or icon in the ImageList, then in the key of the ImageList picture, you have to put the caption of the menu and with that, the control will place that image to that menu or sub menu, and the order does not matter in any thing.
All this is done in the test project.
Thanks, PLASE VOTE FOR IT, that is very important.

API Declarations
There are many, see the declaratinos in the code

Rate A Great Menu with images / icons

Download A Great Menu with images / icons

Download A Great Menu with images / icons (16 KB)

A Great Menu with images / icons Comments

No comments have been posted about A Great Menu with images / icons. Why not be the first to post a comment about A Great Menu with images / icons.

Post your comment

Subject:
Message:
0/1000 characters