Click here to Skip to main content
15,902,276 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Calling a function using as your name the content a CString Pin
Richard MacCutchan27-Sep-11 22:14
mveRichard MacCutchan27-Sep-11 22:14 
AnswerRe: Calling a function using as your name the content a CString Pin
TheGreatAndPowerfulOz28-Sep-11 9:05
TheGreatAndPowerfulOz28-Sep-11 9:05 
GeneralRe: Calling a function using as your name the content a CString Pin
Samuel Nunes de Arruda28-Sep-11 10:40
Samuel Nunes de Arruda28-Sep-11 10:40 
GeneralRe: Calling a function using as your name the content a CString Pin
TheGreatAndPowerfulOz28-Sep-11 11:04
TheGreatAndPowerfulOz28-Sep-11 11:04 
QuestionShow text after press a button Pin
antonio34327-Sep-11 8:29
antonio34327-Sep-11 8:29 
AnswerRe: Show text after press a button Pin
Albert Holguin27-Sep-11 9:20
professionalAlbert Holguin27-Sep-11 9:20 
GeneralRe: Show text after press a button Pin
antonio34327-Sep-11 12:04
antonio34327-Sep-11 12:04 
GeneralRe: Show text after press a button Pin
Albert Holguin28-Sep-11 3:57
professionalAlbert Holguin28-Sep-11 3:57 
Well, there's a number of steps:
1. To get notification of a button press, make sure the button control owner is catching the notification message.
2. To alert the other control's owner of the button press, the message handler of the button press should SendMessage() or PostMessage() to the edit control owner window requesting he make the change. The owner window needs a message defined and appropriate message handler.
3. Within the owner of the edit control, the message handler for changes to the edit control should take the parameters passed to it, then set the window text.

Which step do you not understand? As you can see, this is a somewhat complex process if you don't know how messaging works. You need to do a bit of research.
GeneralRe: Show text after press a button Pin
antonio34328-Sep-11 6:13
antonio34328-Sep-11 6:13 
GeneralRe: Show text after press a button Pin
Albert Holguin28-Sep-11 7:10
professionalAlbert Holguin28-Sep-11 7:10 
Questionapriori algorithm Pin
salv0327-Sep-11 7:24
salv0327-Sep-11 7:24 
AnswerRe: apriori algorithm [modified] Pin
Chris Meech27-Sep-11 8:16
Chris Meech27-Sep-11 8:16 
GeneralRe: apriori algorithm [modified] Pin
salv0327-Sep-11 8:28
salv0327-Sep-11 8:28 
AnswerRe: apriori c++ algorithm Pin
Software_Developer27-Sep-11 19:59
Software_Developer27-Sep-11 19:59 
GeneralRe: apriori c++ algorithm Pin
salv0328-Sep-11 6:29
salv0328-Sep-11 6:29 
GeneralRe: apriori c++ algorithm Pin
David Crow28-Sep-11 7:10
David Crow28-Sep-11 7:10 
QuestionMessage Removed Pin
27-Sep-11 3:24
Youming Lee27-Sep-11 3:24 
AnswerRe: allocate memory Pin
Code-o-mat27-Sep-11 3:32
Code-o-mat27-Sep-11 3:32 
GeneralRe: allocate memory Pin
Youming Lee27-Sep-11 4:12
Youming Lee27-Sep-11 4:12 
GeneralRe: allocate memory Pin
Code-o-mat27-Sep-11 4:26
Code-o-mat27-Sep-11 4:26 
AnswerRe: allocate memory Pin
Erudite_Eric27-Sep-11 3:37
Erudite_Eric27-Sep-11 3:37 
Questionmap of map in c++ Pin
002comp27-Sep-11 0:25
002comp27-Sep-11 0:25 
AnswerRe: map of map in c++ Pin
Code-o-mat27-Sep-11 1:31
Code-o-mat27-Sep-11 1:31 
GeneralRe: map of map in c++ Pin
Stefan_Lang28-Sep-11 1:12
Stefan_Lang28-Sep-11 1:12 
GeneralRe: map of map in c++ Pin
Code-o-mat28-Sep-11 1:37
Code-o-mat28-Sep-11 1:37 

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.