Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to change quick launch shortcut and start menu shortcut path? Pin
yogish29323-Feb-11 22:51
yogish29323-Feb-11 22:51 
AnswerRe: how to change quick launch shortcut and start menu shortcut path? Pin
Richard MacCutchan23-Feb-11 22:54
mveRichard MacCutchan23-Feb-11 22:54 
AnswerRe: how to change quick launch shortcut and start menu shortcut path? Pin
Hans Dietrich23-Feb-11 23:07
mentorHans Dietrich23-Feb-11 23:07 
QuestionDynamically adding Menu in Mainframe menu Pin
Anu_Bala23-Feb-11 22:35
Anu_Bala23-Feb-11 22:35 
AnswerRe: Dynamically adding Menu in Mainframe menu Pin
Richard MacCutchan23-Feb-11 22:53
mveRichard MacCutchan23-Feb-11 22:53 
GeneralRe: Dynamically adding Menu in Mainframe menu Pin
Anu_Bala23-Feb-11 23:15
Anu_Bala23-Feb-11 23:15 
QuestionRe: Dynamically adding Menu in Mainframe menu Pin
David Crow24-Feb-11 3:00
David Crow24-Feb-11 3:00 
AnswerRe: Dynamically adding Menu in Mainframe menu Pin
Anu_Bala24-Feb-11 19:58
Anu_Bala24-Feb-11 19:58 
If i remove this Exit from .RC menu editor.When im runnong application it shows Unhandled Exception error.
So what i did,i coded like

pSubMenu->RemoveMenu(0, MF_BYPOSITION);

This will remove the Exit dynamically and then i added my menu by


pSubMenu->AppendMenu(MF_STRING | MF_ENABLED, ID_COMMAND_1, "First Item");
pSubMenu->AppendMenu(MF_STRING | MF_ENABLED, ID_COMMAND_2, "Second Item");


Now i want to rename the main menu text dynamically.
I dont know how can i do that?
Anu

GeneralRe: Dynamically adding Menu in Mainframe menu Pin
David Crow25-Feb-11 2:10
David Crow25-Feb-11 2:10 
AnswerRe: Dynamically adding Menu in Mainframe menu Pin
Hans Dietrich23-Feb-11 22:59
mentorHans Dietrich23-Feb-11 22:59 
QuestionRe: Dynamically adding Menu in Mainframe menu Pin
David Crow24-Feb-11 3:02
David Crow24-Feb-11 3:02 
AnswerRe: Dynamically adding Menu in Mainframe menu Pin
Roger Allen3-Mar-11 1:48
Roger Allen3-Mar-11 1:48 
Questionhow to hide the vertical scrollbar of listbox Pin
raj157623-Feb-11 21:45
raj157623-Feb-11 21:45 
Questionhow to hide the vertical scrollbar of listbox Pin
raj157623-Feb-11 20:38
raj157623-Feb-11 20:38 
AnswerRe: how to hide the vertical scrollbar of listbox Pin
Cool_Dev23-Feb-11 21:27
Cool_Dev23-Feb-11 21:27 
QuestionCPtrList AddTail problem [SOLVED] Pin
Anu_Bala23-Feb-11 17:42
Anu_Bala23-Feb-11 17:42 
AnswerRe: CPtrList AddTail problem Pin
Cool_Dev23-Feb-11 18:11
Cool_Dev23-Feb-11 18:11 
GeneralRe: CPtrList AddTail problem Pin
Anu_Bala23-Feb-11 19:17
Anu_Bala23-Feb-11 19:17 
Question--i not equal to i - 1 ??? Pin
Cristoff23-Feb-11 11:06
Cristoff23-Feb-11 11:06 
AnswerRe: --i not equal to i - 1 ??? Pin
PJ Arends23-Feb-11 11:31
professionalPJ Arends23-Feb-11 11:31 
GeneralRe: --i not equal to i - 1 ??? Pin
Cristoff23-Feb-11 11:47
Cristoff23-Feb-11 11:47 
AnswerRe: --i not equal to i - 1 ??? Pin
Peter_in_278023-Feb-11 12:23
professionalPeter_in_278023-Feb-11 12:23 
Answeryes the value of --i equals that of i - 1 however the side effects are different Pin
Luc Pattyn23-Feb-11 13:36
sitebuilderLuc Pattyn23-Feb-11 13:36 
GeneralRe: yes the value of --i equals that of i - 1 however the side effects are different Pin
Stefan_Lang24-Feb-11 1:59
Stefan_Lang24-Feb-11 1:59 
QuestionKey pressed time Logic Pin
manchukuo23-Feb-11 9:29
manchukuo23-Feb-11 9:29 

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.