Click here to Skip to main content
15,918,007 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRegarding Addition of Items in Tree Control by Type. Pin
janaswamy uday23-Oct-10 6:48
janaswamy uday23-Oct-10 6:48 
AnswerRe: Regarding Addition of Items in Tree Control by Type. Pin
Code-o-mat23-Oct-10 7:28
Code-o-mat23-Oct-10 7:28 
GeneralRe: Regarding Addition of Items in Tree Control by Type. Pin
janaswamy uday23-Oct-10 8:54
janaswamy uday23-Oct-10 8:54 
GeneralRe: Regarding Addition of Items in Tree Control by Type. Pin
Chris Losinger23-Oct-10 18:56
professionalChris Losinger23-Oct-10 18:56 
GeneralRe: Regarding Addition of Items in Tree Control by Type. Pin
Richard MacCutchan23-Oct-10 21:40
mveRichard MacCutchan23-Oct-10 21:40 
GeneralRe: Regarding Addition of Items in Tree Control by Type. Pin
janaswamy uday24-Oct-10 5:07
janaswamy uday24-Oct-10 5:07 
QuestionMenu Enabling Pin
Anil Kumar.Arvapalli23-Oct-10 2:53
Anil Kumar.Arvapalli23-Oct-10 2:53 
AnswerRe: Menu Enabling Pin
Maximilien23-Oct-10 3:27
Maximilien23-Oct-10 3:27 
The OnUpdateXXX handlers should be called auto-magically by the framework when the message ON_UPDATE_COMMAND_UI message is sent.

you need to add a message for that ...

add something like in the message map area of (I don't remember which one) either the application (CWinApp derived class) or the main frame class.:

ON_UPDATE_COMMAND_UI( ID_OF_YOUR_MENU_ITEM, OnUpdateFileExit)


IMO, the Exit menu (quit?) should always be enable.
Watched code never compiles.

GeneralRe: Menu Enabling Pin
Anil Kumar.Arvapalli23-Oct-10 3:44
Anil Kumar.Arvapalli23-Oct-10 3:44 
GeneralRe: Menu Enabling Pin
Maximilien23-Oct-10 6:02
Maximilien23-Oct-10 6:02 
GeneralRe: Menu Enabling Pin
Anil Kumar.Arvapalli23-Oct-10 21:33
Anil Kumar.Arvapalli23-Oct-10 21:33 
GeneralRe: Menu Enabling Pin
Maximilien24-Oct-10 4:25
Maximilien24-Oct-10 4:25 
QuestionHow to get mouse location in openGL Pin
Mohamed_Khalil23-Oct-10 1:55
Mohamed_Khalil23-Oct-10 1:55 
QuestionChanging the location of a CFileDialog. Pin
rentzk22-Oct-10 15:45
rentzk22-Oct-10 15:45 
AnswerRe: Changing the location of a CFileDialog. Pin
rp_suman22-Oct-10 22:10
rp_suman22-Oct-10 22:10 
AnswerRe: Changing the location of a CFileDialog. Pin
Richard MacCutchan22-Oct-10 22:47
mveRichard MacCutchan22-Oct-10 22:47 
GeneralRe: Changing the location of a CFileDialog. Pin
rentzk23-Oct-10 17:43
rentzk23-Oct-10 17:43 
GeneralRe: Changing the location of a CFileDialog. Pin
Richard MacCutchan23-Oct-10 21:31
mveRichard MacCutchan23-Oct-10 21:31 
GeneralRe: Changing the location of a CFileDialog. Pin
rentzk24-Oct-10 17:56
rentzk24-Oct-10 17:56 
GeneralRe: Changing the location of a CFileDialog. Pin
Richard MacCutchan24-Oct-10 22:24
mveRichard MacCutchan24-Oct-10 22:24 
GeneralFound the problem Pin
rentzk25-Oct-10 7:38
rentzk25-Oct-10 7:38 
GeneralProject type for remote file access Pin
seifwen22-Oct-10 10:25
seifwen22-Oct-10 10:25 
GeneralRe: Project type for remote file access Pin
Moak22-Oct-10 10:37
Moak22-Oct-10 10:37 
GeneralRe: Project type for remote file access Pin
seifwen22-Oct-10 11:29
seifwen22-Oct-10 11:29 
GeneralRe: Project type for remote file access Pin
Moak23-Oct-10 2:06
Moak23-Oct-10 2:06 

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.