Visual Studio/Office 97 style Dockable Menu bar
I have created an MDI project and incorporated the classes supplied in the article "Visual Studio/Office 97 style Flat Toolbar and Dockable Menu bar" and the main menu does not appear. The popup menues are accessable via the keyboard shortcuts but the menu is gone. I believe I have made all the proper modifications stated in the article. Any help would be greatly appreciated.
Thanks
# 2 Re: Visual Studio/Office 97 style Dockable Menu bar
Several people have had this problem - basically I forgot to mention you need the latest commctrl.h from Microsoft, which contains all the definitions for the new toolbars.
At least one person has failed to get the code to work on Chinese windows - this may be a DBCS character set problem, but since I only have vanilla english versions installed I can't really check this.
My home page has the latest version of the code (with a couple of bug fixes), a link to the commctrl.h and an example app.
Tony
Tony's Home Page
# 3 Re: Visual Studio/Office 97 style Dockable Menu bar
I does not use Dockable menu, I don't think it's need, why do we need a dockable
menu?! it's all M$ fool stuff, dockable menubar is a stupid idea.
in DBCS system, when you Load a menu, should use WideCharToMultiByteChar to
translate UNICODE to DBCS, WIN32 store resource in UNICODE format, but display
it in 8-bits char mode(all ANSI style API).
# 4 Re: Visual Studio/Office 97 style Dockable Menu bar
Tony - if you send me the updated files and a brief comment
on which ones are the updated ones I'll post them.
Chris Maunder.
# 5 Re: Visual Studio/Office 97 style Dockable Menu bar
Too many bugs in the original code. Anyone know where is the best? From Microsoft? How to "steal" it? Otherwise, I'll try to do this when I'm free to make it better than MS developing guys'!