Click here to Skip to main content
15,885,244 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionoutput of for loop with condition as i=printf("hello") Pin
myinstincts23-Jul-09 19:27
myinstincts23-Jul-09 19:27 
AnswerRe: output of for loop with condition as i=printf("hello") Pin
manchukuo23-Jul-09 19:38
manchukuo23-Jul-09 19:38 
AnswerRe: output of for loop with condition as i=printf("hello") Pin
Adam Roderick J23-Jul-09 22:37
Adam Roderick J23-Jul-09 22:37 
Question__declspec(dllimport) from a dlu plugin is possible? Pin
002comp23-Jul-09 19:15
002comp23-Jul-09 19:15 
QuestionClient Server Application Pin
Madhu_Rani23-Jul-09 18:56
Madhu_Rani23-Jul-09 18:56 
AnswerRe: Client Server Application Pin
Adam Roderick J23-Jul-09 22:42
Adam Roderick J23-Jul-09 22:42 
GeneralRe: Client Server Application Pin
Madhu_Rani24-Jul-09 3:04
Madhu_Rani24-Jul-09 3:04 
GeneralEN_KILLFOCUS AfxMessageBox [Moved] Pin
sharda.bhagwatkar23-Jul-09 18:34
sharda.bhagwatkar23-Jul-09 18:34 
I have a dialog box on which some Edit boxes are there.
For validation of values in edit boxes, i have handled EN_KILLFOCUS.
When EN_KILLFOCUS is called, value in edit box is validated.
If validation fails, then AfxMessageBox is displayed "Input value is in correct".

The problem is when i press ALT+TAB and switch to another application, the Afxmessagebox is re-displayed because EN_KILLFOCUS is called again.

Please let me know any solution to be handled in EN_KILLFOCUS so that Afxmessagbox is not displayed.


Thanking you in advance.
Regards,
Sharda.

modified on Friday, July 24, 2009 12:41 AM

GeneralRe: EN_KILLFOCUS AfxMessageBox [Moved] Pin
Code-o-mat23-Jul-09 21:10
Code-o-mat23-Jul-09 21:10 
GeneralRe: EN_KILLFOCUS AfxMessageBox [Moved] Pin
sharda.bhagwatkar23-Jul-09 21:27
sharda.bhagwatkar23-Jul-09 21:27 
GeneralRe: EN_KILLFOCUS AfxMessageBox [Moved] Pin
Code-o-mat23-Jul-09 21:52
Code-o-mat23-Jul-09 21:52 
GeneralRe: EN_KILLFOCUS AfxMessageBox [Moved] Pin
KarstenK23-Jul-09 21:14
mveKarstenK23-Jul-09 21:14 
QuestionRe: EN_KILLFOCUS AfxMessageBox [Moved] Pin
Adam Roderick J23-Jul-09 22:44
Adam Roderick J23-Jul-09 22:44 
QuestionUse CFileDialog and get Unicode filenames in a Multi-Byte project Pin
manchukuo23-Jul-09 18:00
manchukuo23-Jul-09 18:00 
AnswerRe: Use CFileDialog and get Unicode filenames in a Multi-Byte project Pin
Kushagra Tiwari23-Jul-09 21:07
Kushagra Tiwari23-Jul-09 21:07 
GeneralRe: Use CFileDialog and get Unicode filenames in a Multi-Byte project Pin
manchukuo24-Jul-09 4:31
manchukuo24-Jul-09 4:31 
QuestionTitleBar Pin
kumar sanghvi23-Jul-09 17:20
kumar sanghvi23-Jul-09 17:20 
AnswerRe: TitleBar Pin
Mahesh Kulkarni23-Jul-09 20:57
Mahesh Kulkarni23-Jul-09 20:57 
GeneralRe: TitleBar Pin
kumar sanghvi24-Jul-09 0:51
kumar sanghvi24-Jul-09 0:51 
QuestionI am not able to get WM_GETMINMAXINFO Message in CDockablePane derived control. Please Help Me! Pin
jeet51123-Jul-09 15:59
jeet51123-Jul-09 15:59 
QuestionSerialize Linked List Pin
Esaias Pech23-Jul-09 15:32
Esaias Pech23-Jul-09 15:32 
AnswerRe: Serialize Linked List Pin
KarstenK23-Jul-09 21:24
mveKarstenK23-Jul-09 21:24 
AnswerRe: Serialize Linked List Pin
killabyte24-Jul-09 0:22
killabyte24-Jul-09 0:22 
GeneralStructure Pin
resolvequestion23-Jul-09 12:20
resolvequestion23-Jul-09 12:20 
GeneralRe: Structure Pin
killabyte23-Jul-09 13:51
killabyte23-Jul-09 13:51 

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.