|
You're hacking the right menu, and all you have to do is duplicate the "Menu Bar" menuitem as below:
264 MENUEX LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US { POPUP "", 264, MFT_STRING, MFS_ENABLED, 0 { MENUITEM "&Menu Bar", 41482, MFT_STRING, MFS_ENABLED MENUITEM "&Standard Buttons", 41476, MFT_STRING, MFS_ENABLED MENUITEM "&Address Bar", 41477, MFT_STRING, MFS_ENABLED MENUITEM " ", 41478, MFT_STRING, MFS_ENABLED MENUITEM "", 41480, MFT_SEPARATOR, MFS_ENABLED MENUITEM "Lock the Tool&bars", 41484, MFT_STRING, MFS_ENABLED MENUITEM "Auto-&Hide", 41481, MFT_STRING, MFS_ENABLED MENUITEM "&Customize...", 41501, MFT_STRING, MFS_ENABLED MENUITEM "&Text Labels", 41479, MFT_STRING, MFS_ENABLED MENUITEM "&Go Button", 41483, MFT_STRING, MFS_ENABLED MENUITEM "Hide Menu Bar", 41482, MFT_STRING, MFS_ENABLED } }
See the Menuitem titled "Hide Menu Bar" ? That's nothing more than the original, "Menu Bar" menuitem, which is the first menuitem listed.
You can use the above code for your menu simply by cutting all original text from your #264, and replacing it with mine. A simple copy and paste should do the trick, compile, save, replace, done :)
Things to note:
I'm running XP Home Edition, OEM, SP2. This hack DOES work on my system, however, it's not permanent. In other words, when I open explorer/IE6, and right click the toolbar, select "Hide Menu Bar", well, sure enough, the bar goes away, but, if I close explorer/ie6, when I reopen either one, the bar is back. You have to cut it off everytime.
This was as close as I could ever get this hack to actually work, and it's a great tool for screenshots, etc...
Also, there is a registry hack available from the Neowin forums, which you can find just by searching "remove menu bar", etc...
You can download pre-made registry files which when added to the registry, will make your bar go away, and it is a permanent hack. However, I've tried it, it does work, but caused a few problems in both IE and Explorer. It gave me some gaps that I didn't want, nor could get rid of, etc... and just didn't seem to "stable" of a hack, so, either way, it can be done, but the reshack way is a bit more harmless.
Not to mention, I've often thought it was kind of neat that you could turn the bar on and off with the Reshack way. Should have been a built in feature if you ask me :)
Anyway, hope this works for you, and if you have any other questions, feel free to ask.
11:51 pm (1 year ago)
|