Solved

Windows API call to remove/hide the main menu bar

Posted on 2006-10-26
1
455 Views
Last Modified: 2013-12-03
I need to hide or remove the menu bar from an application.

Does anyone have the windows API call to do this? I know changing the window type - for example to a child window - can sometimes do this, but I don't want to change the nature of the window, just hide or remove the menu bar.
0
Comment
Question by:purplesoup
1 Comment
 
LVL 48

Accepted Solution

by:
AlexFM earned 500 total points
ID: 17811091
SetMenu(hWnd, hMenu) - sets menu for the window.
SetMenu(hWnd, NULL) - removes menu.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VBA Import all database objects 12 45
WPF MainWindow update textbox from another class... 6 102
dialer.exe 4 58
Is AWS.RDS considered a part of "Big Data"? 4 94
This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now