Click here to Skip to main content
15,897,334 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to delete class from workspace Pin
Ritu Kwatra16-Jan-05 18:41
Ritu Kwatra16-Jan-05 18:41 
AnswerRe: how to delete class from workspace Pin
geo_m16-Jan-05 20:16
geo_m16-Jan-05 20:16 
GeneralRe: how to delete class from workspace Pin
Ritu Kwatra16-Jan-05 22:37
Ritu Kwatra16-Jan-05 22:37 
AnswerRe: how to delete class from workspace Pin
eli1502197916-Jan-05 22:22
eli1502197916-Jan-05 22:22 
GeneralOpen With... Pin
dSolariuM16-Jan-05 18:27
dSolariuM16-Jan-05 18:27 
GeneralRe: Open With... Pin
David Crow17-Jan-05 4:05
David Crow17-Jan-05 4:05 
GeneralShow and Hide the Menu bar dynamically Pin
16-Jan-05 16:56
suss16-Jan-05 16:56 
GeneralRe: Show and Hide the Menu bar dynamically Pin
pc_dev16-Jan-05 19:46
pc_dev16-Jan-05 19:46 
I don't know any direct command that show/hide menu but the following will work too.

For removing menu bar at run time use following code

CWnd* pMain = AfxGetMainWnd();
if (pMain != NULL)
{
CMenu* pMenu = pMain->GetMenu();
while(pMenu != NULL && pMenu->GetMenuItemCount() > 0)
{
pMenu->DeleteMenu(0, MF_BYPOSITION);
pMain->DrawMenuBar();
}
}

For adding menu items again, use

AppendMenu


GeneralRe: Show and Hide the Menu bar dynamically Pin
mclpun17-Jan-05 0:12
mclpun17-Jan-05 0:12 
GeneralASCII value question Pin
Anonymous16-Jan-05 16:22
Anonymous16-Jan-05 16:22 
GeneralRe: ASCII value question Pin
ThatsAlok16-Jan-05 17:59
ThatsAlok16-Jan-05 17:59 
GeneralRe: ASCII value question Pin
David Crow17-Jan-05 4:15
David Crow17-Jan-05 4:15 
GeneralRe: ASCII value question Pin
Adam Fowler17-Jan-05 5:43
Adam Fowler17-Jan-05 5:43 
GeneralA Simple Read/ Write Application Pin
CT Menot16-Jan-05 16:22
CT Menot16-Jan-05 16:22 
GeneralRe: A Simple Read/ Write Application Pin
David Crow17-Jan-05 4:16
David Crow17-Jan-05 4:16 
GeneralRe: A Simple Read/ Write Application Pin
CT Menot17-Jan-05 14:30
CT Menot17-Jan-05 14:30 
GeneralRe: A Simple Read/ Write Application Pin
David Crow18-Jan-05 3:19
David Crow18-Jan-05 3:19 
GeneralNeed help. How to get frames from link-layer in Windows XP Pin
Chuaaico16-Jan-05 14:51
Chuaaico16-Jan-05 14:51 
GeneralRe: Need help. How to get frames from link-layer in Windows XP Pin
geo_m16-Jan-05 21:08
geo_m16-Jan-05 21:08 
GeneralRe: Need help. How to get frames from link-layer in Windows XP Pin
Chuaaico16-Jan-05 22:43
Chuaaico16-Jan-05 22:43 
GeneralRe: Need help. How to get frames from link-layer in Windows XP Pin
geo_m17-Jan-05 0:19
geo_m17-Jan-05 0:19 
GeneralRe: Need help. How to get frames from link-layer in Windows XP Pin
Chuaaico26-Jan-05 0:48
Chuaaico26-Jan-05 0:48 
GeneralRe: Need help. How to get frames from link-layer in Windows XP Pin
geo_m26-Jan-05 1:04
geo_m26-Jan-05 1:04 
GeneralRe: Need help. How to get frames from link-layer in Windows XP Pin
Chuaaico26-Jan-05 15:21
Chuaaico26-Jan-05 15:21 
GeneralRe: Need help. How to get frames from link-layer in Windows XP Pin
geo_m26-Jan-05 20:05
geo_m26-Jan-05 20:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.