mspocketpc.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Hiding menu CDialog

 
Post new topic   Reply to topic    mspocketpc.org Forum Index -> Developers
Author Message
marklt88



Joined: 27 Feb 2008
Posts: 1

PostPosted: Wed Feb 27, 2008 5:38 pm    Post subject: Hiding menu CDialog Reply with quote

Hello,

Is there a way to hide the menu bar at the bottom of the screen in dialog
box? I created a MFC dialog box application and put the following code in the
OnInitDialog function:

-- code snippet begin --

SHMENUBARINFO mbi;
ZeroMemory(&mbi, sizeof(SHMENUBARINFO));

mbi.cbSize = sizeof(SHMENUBARINFO);
mbi.hwndParent = GetSafeHwnd();
mbi.dwFlags = SHCMBF_HIDDEN;
// also tried using the SHCMBF_HIDESIPBUTTON flag with the HIDDEN flag
SHCreateMenuBar(&mbi);

-- code snippet end --

That didn't seem to work. It works when I created a Windows application and
put the code in response to the WM_CREATE message.

The other thing that would work for me is if I can draw over that menu bar
area.

Thank you in advance for your help.

----
mark

Archived from group: microsoft>public>pocketpc>developer
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Hiding SIP button in WM 5.0 Dear All, I would appreciate anybody help with this problem: I am developing one Media Player application for Pocket PC. In the normal view I can't able to hide the SIP button. I tried somany ways like an

Removing or hiding Notifications in WM6 I am writing an application in C# which opens a GPRS cellular connection and sends some data to a server. Sometimes the phone is out of range and a notification box pops up saying that it is unable to connect. This box doesn't dissappear unless I click

Hiding System Tray Hi, I have been trying to hide the "System Tray" over Today screen and I found out that hiding the "menu_worker" would hide the tray. The catch here is the below piece of code works fine only if it is run as console application using VS.NET 2005. If I run

Hiding "Start" Icon when calling "calc.exe" Hi, I've application in which I am hiding "Start" Icon using Now I wanted to use standard Microsoft PPC programs e.g Word etc... w/o showing "Start" button. When I'am calli

Extending File Explorer "Menu" Menu I have written a program for Windows Mobile 5/6 that can operate on files. To access the functionality I have extended the file context menu by implementing IContextMenu. This allows the user to tap and hold on a file and activate my code. However, not al
Post new topic   Reply to topic    mspocketpc.org Forum Index -> Developers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group