Click here to Skip to main content
15,917,612 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDatabase connection in vc++ Pin
ningthemcha24-Jul-06 1:04
ningthemcha24-Jul-06 1:04 
AnswerRe: Database connection in vc++ Pin
_AnsHUMAN_ 24-Jul-06 1:19
_AnsHUMAN_ 24-Jul-06 1:19 
AnswerRe: Database connection in vc++ Pin
David Crow24-Jul-06 2:59
David Crow24-Jul-06 2:59 
QuestionDisplaying the content of control to new form contron Pin
ningthemcha24-Jul-06 1:02
ningthemcha24-Jul-06 1:02 
AnswerRe: Displaying the content of control to new form contron Pin
_AnsHUMAN_ 24-Jul-06 2:33
_AnsHUMAN_ 24-Jul-06 2:33 
AnswerRe: Displaying the content of control to new form contron Pin
Hamid_RT24-Jul-06 2:41
Hamid_RT24-Jul-06 2:41 
QuestionRe: Displaying the content of control to new form contron Pin
David Crow24-Jul-06 3:03
David Crow24-Jul-06 3:03 
Questionasynchronized I/O == multiplexing I/O? Pin
George_George24-Jul-06 0:57
George_George24-Jul-06 0:57 
AnswerRe: asynchronized I/O == multiplexing I/O? Pin
peterchen24-Jul-06 2:12
peterchen24-Jul-06 2:12 
GeneralRe: asynchronized I/O == multiplexing I/O? [modified] Pin
George_George25-Jul-06 2:06
George_George25-Jul-06 2:06 
QuestionSet Focus to Button? Pin
bosfan24-Jul-06 0:37
bosfan24-Jul-06 0:37 
AnswerRe: Set Focus to Button? Pin
toxcct24-Jul-06 0:41
toxcct24-Jul-06 0:41 
GeneralRe: Set Focus to Button? Pin
bosfan24-Jul-06 1:09
bosfan24-Jul-06 1:09 
AnswerRe: Set Focus to Button? Pin
_AnsHUMAN_ 24-Jul-06 0:42
_AnsHUMAN_ 24-Jul-06 0:42 
break; wrote

CEdit field, so when the user press enter on

Didn't get your question clearly. But I feel that you want to capture the enter key on the dialog so that when enter key is pressed you don't close the dialog.
Right?
If yes you can use PreTranslateMessage() and detect when Enter is pressed
Something like
if(pMsg->message == WM_KEYDOWN && (VK_ESCAPE == pMsg->wParam || VK_RETURN == pMsg->wParam))
		//if(AfxMessageBox("Do you want to exit",MB_YESNO)==IDNO)
			pMsg->wParam=VK_SEPARATOR;

would do

Somethings seem HARD to do, until we know how to do them.
Wink | ;-) _AnShUmAn_

GeneralRe: Set Focus to Button? Pin
bosfan24-Jul-06 1:26
bosfan24-Jul-06 1:26 
QuestionReading text from where mouse is double clicked!!! Pin
_AnsHUMAN_ 24-Jul-06 0:20
_AnsHUMAN_ 24-Jul-06 0:20 
AnswerRe: Reading text from where mouse is double clicked!!! Pin
Programm3r24-Jul-06 0:31
Programm3r24-Jul-06 0:31 
AnswerRe: Reading text from where mouse is double clicked!!! Pin
David Crow24-Jul-06 3:08
David Crow24-Jul-06 3:08 
Questionread/ write to screen/ file Pin
tanarnelinistit24-Jul-06 0:05
tanarnelinistit24-Jul-06 0:05 
AnswerRe: read/ write to screen/ file Pin
Cedric Moonen24-Jul-06 0:14
Cedric Moonen24-Jul-06 0:14 
GeneralRe: read/ write to screen/ file Pin
tanarnelinistit24-Jul-06 0:18
tanarnelinistit24-Jul-06 0:18 
AnswerRe: read/ write to screen/ file Pin
normanS24-Jul-06 0:58
normanS24-Jul-06 0:58 
GeneralRe: read/ write to screen/ file Pin
tanarnelinistit24-Jul-06 1:16
tanarnelinistit24-Jul-06 1:16 
GeneralRe: read/ write to screen/ file Pin
normanS24-Jul-06 19:25
normanS24-Jul-06 19:25 
QuestionHow to hide process from being watched Pin
kflrei24-Jul-06 0:02
kflrei24-Jul-06 0:02 

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.