Click here to Skip to main content
15,918,889 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Removing char from a string Pin
Juha Silmujarvi22-Apr-05 0:31
Juha Silmujarvi22-Apr-05 0:31 
Generalproblem using mailslot writeFile function on windows 2000. Pin
Member 176234321-Apr-05 22:56
Member 176234321-Apr-05 22:56 
GeneralRe: problem using mailslot writeFile function on windows 2000. Pin
22491722-Apr-05 0:35
22491722-Apr-05 0:35 
GeneralRe: problem using mailslot writeFile function on windows 2000. Pin
Member 176234322-Apr-05 1:55
Member 176234322-Apr-05 1:55 
GeneralRe: problem using mailslot writeFile function on windows 2000. Pin
22491722-Apr-05 2:06
22491722-Apr-05 2:06 
GeneralWM_KILLFOCUS Pin
Anonymous21-Apr-05 22:38
Anonymous21-Apr-05 22:38 
GeneralRe: WM_KILLFOCUS Pin
stolid_rock22-Apr-05 2:37
stolid_rock22-Apr-05 2:37 
GeneralRe: WM_KILLFOCUS Pin
David Crow22-Apr-05 2:40
David Crow22-Apr-05 2:40 
Validating data during a WM_KILLFOCUS message indicates a bad design. That message gets sent in too many situations so picking and choosing which one(s) you are interested in will lead to trouble. The most reliable way of validating data on a dialog box is to check the state of each control anytime a control changes. Set up a "change" handler for each control and do the validating in it. If all conditions are met, only then do you enable the OK button. I do this for each of my dialogs. It is very clean and reliable. Read here for more.


"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown


GeneralRe: WM_KILLFOCUS Pin
namaskaaram22-Apr-05 4:53
namaskaaram22-Apr-05 4:53 
Questionoutlook write contact with COleDispatchDriver/InvokeHelper? Pin
ThinkingPrometheus21-Apr-05 22:09
ThinkingPrometheus21-Apr-05 22:09 
QuestionEmail functions in MFC Aplications, SMTP? Pin
bosfan21-Apr-05 21:10
bosfan21-Apr-05 21:10 
AnswerRe: Email functions in MFC Aplications, SMTP? Pin
22491721-Apr-05 21:23
22491721-Apr-05 21:23 
GeneralRe: Email functions in MFC Aplications, SMTP? Pin
bosfan21-Apr-05 22:01
bosfan21-Apr-05 22:01 
GeneralRe: Email functions in MFC Aplications, SMTP? Pin
22491721-Apr-05 22:35
22491721-Apr-05 22:35 
QuestionUsing Dialog's from different projects in the same solution? Pin
jammin PPP21-Apr-05 20:53
jammin PPP21-Apr-05 20:53 
AnswerRe: Using Dialog's from different projects in the same solution? Pin
22491721-Apr-05 21:31
22491721-Apr-05 21:31 
AnswerRe: Using Dialog's from different projects in the same solution? Pin
wts77091922-Apr-05 1:59
wts77091922-Apr-05 1:59 
GeneralAccessing Ms Access database through a password using VC++ (ODBC) Pin
Shanmuga Sundar21-Apr-05 19:57
Shanmuga Sundar21-Apr-05 19:57 
GeneralRe: Accessing Ms Access database through a password using VC++ (ODBC) Pin
22491721-Apr-05 20:13
22491721-Apr-05 20:13 
Generalspin control Pin
laiju21-Apr-05 19:24
laiju21-Apr-05 19:24 
GeneralRe: spin control Pin
PJ Arends21-Apr-05 20:51
professionalPJ Arends21-Apr-05 20:51 
GeneralRe: spin control Pin
ddmcr22-Apr-05 2:06
ddmcr22-Apr-05 2:06 
Generalplease excel automation with mfc Pin
lee kyu sub21-Apr-05 17:19
lee kyu sub21-Apr-05 17:19 
QuestionHow to get CPU usage of a particular process/application Pin
Nam Deok Cho21-Apr-05 16:40
Nam Deok Cho21-Apr-05 16:40 
General4peg tower of hanoi Pin
Anonymous21-Apr-05 13:56
Anonymous21-Apr-05 13:56 

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.