Advertisement
6_2008-2009 Custom Controls/ Forms/ Menus #210855

Owner Drawn Menu for use with images like office

Customize your menu with images. Just create a menu with the VB Menu editor. Add some PictureBoxes to your form and assign to the CMenu class. This class uses the whole region of the main-menu not only the regions of the items. So, if the window width changes, the background image of the main-menu also does. The screenshot shows where PictureBoxes are applied. UPDATE: Now using a better method for subclassing. A MsgBox blocked the WM_DRAWITEM message when running in the IDE and as long as the msgbox was on top, the menubar was grey. This doesn't happen in the new version.

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.

सोर्स कोड
original-source
Upload
मूल टिप्पणियाँ (3)
Wayback Machine से पुनर्प्राप्त