Click here to Skip to main content
15,913,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to confirm the tree item selected Pin
David Crow19-Aug-05 7:52
David Crow19-Aug-05 7:52 
GeneralRe: how to confirm the tree item selected Pin
Maximilien19-Aug-05 7:52
Maximilien19-Aug-05 7:52 
GeneralRe: how to confirm the tree item selected Pin
try8819-Aug-05 8:43
try8819-Aug-05 8:43 
Generalquestion related to drivers Pin
gamitech19-Aug-05 3:46
gamitech19-Aug-05 3:46 
GeneralRe: question related to drivers Pin
fat_boy19-Aug-05 4:05
fat_boy19-Aug-05 4:05 
Generalupdating Edit box in a Dialog from Callback function. Pin
kk_vp19-Aug-05 2:17
kk_vp19-Aug-05 2:17 
GeneralRe: updating Edit box in a Dialog from Callback function. Pin
David Crow19-Aug-05 2:28
David Crow19-Aug-05 2:28 
GeneralRe: updating Edit box in a Dialog from Callback function. Pin
kk_vp19-Aug-05 4:04
kk_vp19-Aug-05 4:04 
MyNotify is ok. It is being called. But if I write MessageBox("Hello"); I get an error, MEssageBoxA does not take one parameter.

I guess this is because MyNotify is not member of CDialog.
I want to do a SetDlgItemText on a edit box in my Dialog.

So, how to access a edit box in a dialog from a function which is not a member of the dialog class ?

If it was a normal function, I could have passed a pointer of Dialog to the function and used it. But, this is a callback function. THe call back portion of it is working fine.
So other than passing a pointer to dialog, how to access a edit box in a dialog from a function which is not a member of the dialog class ?

-KK

- KK
GeneralRe: updating Edit box in a Dialog from Callback function. Pin
David Crow19-Aug-05 4:21
David Crow19-Aug-05 4:21 
GeneralRe: updating Edit box in a Dialog from Callback function. Pin
kk_vp19-Aug-05 4:29
kk_vp19-Aug-05 4:29 
GeneralRe: updating Edit box in a Dialog from Callback function. Pin
David Crow19-Aug-05 4:34
David Crow19-Aug-05 4:34 
GeneralRe: updating Edit box in a Dialog from Callback function. Pin
Jose Lamas Rios19-Aug-05 2:44
Jose Lamas Rios19-Aug-05 2:44 
GeneralRe: updating Edit box in a Dialog from Callback function. Pin
MailtoGops19-Aug-05 2:49
MailtoGops19-Aug-05 2:49 
GeneralRe: updating Edit box in a Dialog from Callback function. Pin
gamitech19-Aug-05 3:33
gamitech19-Aug-05 3:33 
GeneralRe: updating Edit box in a Dialog from Callback function. Pin
kk_vp19-Aug-05 4:05
kk_vp19-Aug-05 4:05 
GeneralRe: updating Edit box in a Dialog from Callback function. Pin
ThatsAlok21-Aug-05 18:53
ThatsAlok21-Aug-05 18:53 
GeneralRe: updating Edit box in a Dialog from Callback function. Pin
kk_vp24-Aug-05 0:31
kk_vp24-Aug-05 0:31 
GeneralRe: updating Edit box in a Dialog from Callback function. Pin
MailtoGops19-Aug-05 4:26
MailtoGops19-Aug-05 4:26 
GeneralRe: updating Edit box in a Dialog from Callback function. Pin
kk_vp19-Aug-05 4:32
kk_vp19-Aug-05 4:32 
GeneralRe: updating Edit box in a Dialog from Callback function. Pin
MailtoGops22-Aug-05 0:23
MailtoGops22-Aug-05 0:23 
GeneralMIMESniffer.DLL MIME to HTML Conversion Problem ( if MIME tag starts with <DIV>,<P> or <UL> Pin
chandan kumar19-Aug-05 2:08
chandan kumar19-Aug-05 2:08 
GeneralRe: MIMESniffer.DLL MIME to HTML Conversion Problem ( if MIME tag starts with <DIV>,<P> or <UL> Pin
Jose Lamas Rios19-Aug-05 2:55
Jose Lamas Rios19-Aug-05 2:55 
GeneralMIMESniffer.dll MIME to HTML conversion problem Pin
chandan kumar19-Aug-05 2:06
chandan kumar19-Aug-05 2:06 
QuestionCreate a button that can be dragged and dropped?? Pin
Hachaso19-Aug-05 1:15
Hachaso19-Aug-05 1:15 
AnswerRe: Create a button that can be dragged and dropped?? Pin
toxcct19-Aug-05 1:51
toxcct19-Aug-05 1: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.