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

C / C++ / MFC

 
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 
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 
I guess if it was easy to solve it wouldn't be a problem to validate on focus loss. You could try to check if the window who gets the focus belongs to your application or not, or maybe check if your aplication is the active application on the syatem or not and not display the message if it is not. Do these make any sense?

How about a different aproach? Don't display a message box but change the errorous edit field's background color to red for example, and maybe have a static field or such placed somewhere on your dialog that explains to the user what is wrong with the edit field, maybe show the error message in a tooltip when the user points his mouse at the edit field. Or is the message box itself also a requirement?

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <

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 
QuestionActive Document Server Menu question. Pin
ancere23-Jul-09 9:14
ancere23-Jul-09 9:14 
AnswerRe: Active Document Server Menu question. Pin
transoft23-Jul-09 9:18
transoft23-Jul-09 9:18 
GeneralRe: Active Document Server Menu question. Pin
ancere24-Jul-09 3:19
ancere24-Jul-09 3:19 

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.