VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Owner Drawn Menu for use with images like office

by gerald nt (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

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.

Rate Owner Drawn Menu for use with images like office

Download Owner Drawn Menu for use with images like office

Download Owner Drawn Menu for use with images like office (12 KB)

Owner Drawn Menu for use with images like office Comments

No comments have been posted about Owner Drawn Menu for use with images like office. Why not be the first to post a comment about Owner Drawn Menu for use with images like office.

Post your comment

Subject:
Message:
0/1000 characters