Click here to Skip to main content
15,914,820 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: msdev compiler Pin
David Crow24-Feb-04 3:18
David Crow24-Feb-04 3:18 
QuestionHow to Get property value if it returns BSTR Pin
Inam23-Feb-04 20:32
Inam23-Feb-04 20:32 
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 
Create a PreTranslateMessage handler for you dialog/form view and have code such as

if(pMsg->message == WM_KEYDOWN)
{
if(pMsg->wParam == VK_RETURN)
{
long nID = ::GetDlgCtrlID(pMsg->hwnd);
switch (nID)
{
case IDC_BTN_DOSOMETHING:
case IDOK:
break; //allow default behaviour - I assume you do want to respond to button presses
default:
NextDlgCtrl();
return true; //message has been handled
}
}
}

C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg
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 
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 

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.