Advertisement
4_2005-2006 OLE/ COM/ DCOM/ Active-X #165035

A Great Menu with images / icons

This is my first upload to Planet-Source-Code, 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.

AI

Shrnutí AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Zdrojový kód
original-source
Upload
Původní komentáře (3)
Obnoveno z Wayback Machine