Click here to Skip to main content
15,909,953 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalinstallshield vc++ Pin
rasha200323-Feb-04 20:22
rasha200323-Feb-04 20:22 
Questionchange font style and colors in spreadsheet? Pin
xxhimanshu23-Feb-04 19:13
xxhimanshu23-Feb-04 19:13 
Questionchange font style and colors in excel spreadsheet? Pin
xxhimanshu23-Feb-04 19:12
xxhimanshu23-Feb-04 19:12 
AnswerRe: change font style and colors in excel spreadsheet? Pin
Monty223-Feb-04 19:46
Monty223-Feb-04 19:46 
GeneralGetting ENTER key to act like TAB Pin
rhealana23-Feb-04 18:35
rhealana23-Feb-04 18:35 
GeneralRe: Getting ENTER key to act like TAB Pin
Monty223-Feb-04 19:51
Monty223-Feb-04 19:51 
GeneralRe: Getting ENTER key to act like TAB Pin
rhealana24-Feb-04 16:43
rhealana24-Feb-04 16:43 
GeneralRe: Getting ENTER key to act like TAB Pin
Roger Allen24-Feb-04 3:52
Roger Allen24-Feb-04 3:52 
As mentioned previously, use the pretranslate message but do this:

if (pMsg->message == WM_KEYDOWN && wParam == VK_RETURN)
{
	// change to tab if were on an edit control
	CWnd *pWnd = GetFocus();
	if (pWnd)
	{
		if (pWnd->IsKindOf(RUNTIME_CLASS(CEdit)))
		{
			pMsg->wParam = VK_TAB;
		}
	}
}

call the base class here



Roger Allen - Sonork 100.10016
Roger Wright: Remember to buckle up, please, and encourage your friends to do the same. It's not just about saving your life, but saving the quality of life for those you may leave behind...
GeneralRe: Getting ENTER key to act like TAB Pin
rhealana24-Feb-04 16:43
rhealana24-Feb-04 16:43 
QuestionHow to get Windows Login Information in MFC Pin
.NetRams23-Feb-04 18:02
.NetRams23-Feb-04 18:02 
AnswerRe: How to get Windows Login Information in MFC Pin
Michael Dunn23-Feb-04 19:04
sitebuilderMichael Dunn23-Feb-04 19:04 
GeneralI need a method to check yahoo mail from vc application. Pin
mctpursuer23-Feb-04 18:00
mctpursuer23-Feb-04 18:00 
GeneralUser Message Pin
NadAzur23-Feb-04 16:02
NadAzur23-Feb-04 16:02 
GeneralRe: User Message Pin
Prakash Nadar23-Feb-04 16:49
Prakash Nadar23-Feb-04 16:49 
GeneralRe: User Message Pin
NadAzur23-Feb-04 17:12
NadAzur23-Feb-04 17:12 
GeneralRe: User Message Pin
Prakash Nadar23-Feb-04 17:27
Prakash Nadar23-Feb-04 17:27 
GeneralRe: User Message Pin
NadAzur23-Feb-04 17:31
NadAzur23-Feb-04 17:31 
GeneralRe: User Message Pin
Prakash Nadar23-Feb-04 17:51
Prakash Nadar23-Feb-04 17:51 
GeneralRe: User Message Pin
NadAzur23-Feb-04 18:49
NadAzur23-Feb-04 18:49 
GeneralRebar - toolbars overlapping problem Pin
Kayembi23-Feb-04 14:31
Kayembi23-Feb-04 14:31 
GeneralRe: Rebar - toolbars overlapping problem Pin
Kayembi24-Feb-04 0:09
Kayembi24-Feb-04 0:09 
QuestionHorizontal Outlook Bar Control??? Pin
gordingin23-Feb-04 13:38
gordingin23-Feb-04 13:38 
GeneralDrawing from CImageList onto CButton Pin
Tym!23-Feb-04 13:14
Tym!23-Feb-04 13:14 
GeneralSolution Pin
Tym!24-Feb-04 17:37
Tym!24-Feb-04 17:37 
GeneralAdding a Dialog resource to a Dynamic Window Pin
jerry1211a23-Feb-04 13:08
jerry1211a23-Feb-04 13:08 

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.