Click here to Skip to main content
15,905,867 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiona link error in C++ programming Pin
richardye24-Oct-07 1:10
richardye24-Oct-07 1:10 
AnswerRe: a link error in C++ programming Pin
Cedric Moonen24-Oct-07 1:17
Cedric Moonen24-Oct-07 1:17 
GeneralRe: a link error in C++ programming Pin
led mike24-Oct-07 5:11
led mike24-Oct-07 5:11 
GeneralRe: a link error in C++ programming Pin
Cedric Moonen24-Oct-07 7:05
Cedric Moonen24-Oct-07 7:05 
AnswerRe: a link error in C++ programming Pin
David Crow24-Oct-07 5:46
David Crow24-Oct-07 5:46 
AnswerRe: a link error in C++ programming Pin
Iain Clarke, Warrior Programmer24-Oct-07 5:52
Iain Clarke, Warrior Programmer24-Oct-07 5:52 
GeneralRe: a link error in C++ programming Pin
richardye24-Oct-07 14:41
richardye24-Oct-07 14:41 
QuestionAdding stuff to CEdit's popup menu Pin
William Engberts24-Oct-07 0:13
William Engberts24-Oct-07 0:13 
Hi all.

In a program I am currently writing, I would initiate to add some functions based on a right-click of a particular edit control. However, CEdit catches the OnRClick event itself, in order to build a pop-up menu of its own (with stuff like "copy", "paste", etc). Is there a way in which I can add my own items to this pop-up menu? (and of course, respond to them within the CEdit's parent) If not, I would like to send a NM_RCLICK notify message to the parent, overriding the CEdit's OnNotify handler, so that the parent can build its own pop-up menu, and leave the CEdit's pop-up menu unused. However, when doing so, how do I get the control's id (since I need to put this in the NMHDR structure in order to identify the control that sent the notification message).

Any help would be very much appreciated.
Regards,
William
AnswerRe: Adding stuff to CEdit's popup menu Pin
Naveen24-Oct-07 0:20
Naveen24-Oct-07 0:20 
AnswerRe: Adding stuff to CEdit's popup menu Pin
Hamid_RT24-Oct-07 1:16
Hamid_RT24-Oct-07 1:16 
AnswerRe: Adding stuff to CEdit's popup menu Pin
PJ Arends24-Oct-07 1:25
professionalPJ Arends24-Oct-07 1:25 
GeneralRe: Adding stuff to CEdit's popup menu Pin
William Engberts24-Oct-07 2:35
William Engberts24-Oct-07 2:35 
QuestionCreateDispatch not working Pin
prithaa24-Oct-07 0:12
prithaa24-Oct-07 0:12 
AnswerRe: CreateDispatch not working Pin
William Engberts24-Oct-07 0:24
William Engberts24-Oct-07 0:24 
GeneralRe: CreateDispatch not working Pin
prithaa24-Oct-07 2:19
prithaa24-Oct-07 2:19 
GeneralRe: CreateDispatch not working Pin
William Engberts24-Oct-07 2:33
William Engberts24-Oct-07 2:33 
QuestionPrintf %d and %ld Pin
George_George23-Oct-07 23:03
George_George23-Oct-07 23:03 
AnswerRe: Printf %d and %ld Pin
William Engberts24-Oct-07 0:32
William Engberts24-Oct-07 0:32 
GeneralRe: Printf %d and %ld Pin
George_George24-Oct-07 0:37
George_George24-Oct-07 0:37 
AnswerRe: Printf %d and %ld Pin
Nishad S24-Oct-07 0:45
Nishad S24-Oct-07 0:45 
GeneralRe: Printf %d and %ld Pin
George_George24-Oct-07 3:03
George_George24-Oct-07 3:03 
QuestionFinding the User privileges on a windows OS Pin
junkMind23-Oct-07 23:02
junkMind23-Oct-07 23:02 
AnswerRe: Finding the User privileges on a windows OS Pin
Naveen23-Oct-07 23:12
Naveen23-Oct-07 23:12 
GeneralRe: Finding the User privileges on a windows OS Pin
junkMind23-Oct-07 23:22
junkMind23-Oct-07 23:22 
GeneralRe: Finding the User privileges on a windows OS Pin
Naveen23-Oct-07 23:35
Naveen23-Oct-07 23:35 

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.