Click here to Skip to main content
15,921,697 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHelp with custom message broadcasting(Inter process communication) Pin
callousfantom7-Aug-09 2:16
callousfantom7-Aug-09 2:16 
AnswerRe: Help with custom message broadcasting(Inter process communication) Pin
«_Superman_»7-Aug-09 2:32
professional«_Superman_»7-Aug-09 2:32 
GeneralRe: Help with custom message broadcasting(Inter process communication) [modified] Pin
callousfantom9-Aug-09 20:56
callousfantom9-Aug-09 20:56 
GeneralRe: Help with custom message broadcasting(Inter process communication) Pin
callousfantom9-Aug-09 23:27
callousfantom9-Aug-09 23:27 
GeneralRe: Help with custom message broadcasting(Inter process communication) Pin
«_Superman_»10-Aug-09 3:59
professional«_Superman_»10-Aug-09 3:59 
GeneralRe: Help with custom message broadcasting(Inter process communication) Pin
callousfantom10-Aug-09 18:05
callousfantom10-Aug-09 18:05 
Questionhow to create a file shared among all users Pin
Joseph Marzbani7-Aug-09 2:03
Joseph Marzbani7-Aug-09 2:03 
AnswerRe: how to create a file shared among all users Pin
CPallini7-Aug-09 2:15
mveCPallini7-Aug-09 2:15 
GeneralRe: how to create a file shared among all users Pin
Joseph Marzbani7-Aug-09 2:24
Joseph Marzbani7-Aug-09 2:24 
GeneralRe: how to create a file shared among all users Pin
CPallini7-Aug-09 2:33
mveCPallini7-Aug-09 2:33 
GeneralRe: how to create a file shared among all users Pin
Omri1217-Aug-09 5:32
Omri1217-Aug-09 5:32 
QuestionRe: how to create a file shared among all users Pin
David Crow7-Aug-09 3:09
David Crow7-Aug-09 3:09 
QuestionReading Simplified Chinese String. [modified] Pin
gothic_coder6-Aug-09 21:23
gothic_coder6-Aug-09 21:23 
AnswerRe: Reading Simplified Chinese String. Pin
sashoalm6-Aug-09 22:04
sashoalm6-Aug-09 22:04 
GeneralRe: Reading Simplified Chinese String. Pin
gothic_coder6-Aug-09 22:32
gothic_coder6-Aug-09 22:32 
GeneralRe: Reading Simplified Chinese String. Pin
sashoalm6-Aug-09 23:22
sashoalm6-Aug-09 23:22 
GeneralRe: Reading Simplified Chinese String. Pin
gothic_coder6-Aug-09 23:48
gothic_coder6-Aug-09 23:48 
GeneralRe: Reading Simplified Chinese String. Pin
sashoalm7-Aug-09 0:14
sashoalm7-Aug-09 0:14 
GeneralRe: Reading Simplified Chinese String. Pin
Adam Roderick J7-Aug-09 0:50
Adam Roderick J7-Aug-09 0:50 
GeneralRe: Reading Simplified Chinese String. Pin
sashoalm7-Aug-09 1:27
sashoalm7-Aug-09 1:27 
GeneralRe: Reading Simplified Chinese String. Pin
gothic_coder7-Aug-09 1:32
gothic_coder7-Aug-09 1:32 
GeneralRe: Reading Simplified Chinese String. Pin
gothic_coder7-Aug-09 1:30
gothic_coder7-Aug-09 1:30 
GeneralRe: Reading Simplified Chinese String. Pin
gothic_coder7-Aug-09 23:18
gothic_coder7-Aug-09 23:18 
GeneralRe: Reading Simplified Chinese String. Pin
gothic_coder8-Aug-09 2:36
gothic_coder8-Aug-09 2:36 
QuestionCMFCRibbonEdit - how to capture event when user edits it and presses enter? Pin
sashoalm6-Aug-09 21:14
sashoalm6-Aug-09 21:14 
I have a CMFCRibbonComboBox (which is derived from CMFCRibbonEdit), and I've captured the event of the user selecting an item by overriding OnSelectItem. However I don't know how to capture the event of the user typing inside the edit box and pressing enter. I looked at CMFCRibbonEdit::OnKey, but it is not called. Should I place a message-map entry instead? In spyxx the class of the edit box is isn't "EDIT", but "RichEdit20A".

Here's my code so far:

class MyCMFCRibbonComboBox : public CMFCRibbonComboBox
{
public:
	MyCMFCRibbonComboBox(UINT nID, BOOL bHasEditBox = TRUE, int nWidth = -1, LPCTSTR lpszLabel = NULL, int nImage = -1)
		: CMFCRibbonComboBox(nID, bHasEditBox, nWidth, lpszLabel, nImage)
	{

	}
	
	virtual void OnSelectItem(int nItem)
	{
		CMFCRibbonComboBox::OnSelectItem(nItem);

		// DO STUFF
	}

	// CAPTURE KEYBOARD EVENTS???
};


There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal

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.