-
Does anybody know how to make your own custom menu bar such as seen in qbasic. When you create a text file in DOS mode then you get a nice looking blue colour text editor. There is flat menubar. I want to make my own menubar so I can customize colour, backcolour, etc,..
Does anybody know how to make it from scratch.
-
There's at least 2 ways to do it:
#1: Use a custom ActiveX control.
-
1 Attachment(s)
#2:
- Set all of the menus into ownerdraw using the ModifyMenu API
- Use SetWindowLong to subclass the form and catch the WM_DRAW message.
- Draw the menu using GDI tools.
Sample (hopefully, you can understand it):