Click here to Skip to main content
15,919,613 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: message BN_CLICKED for button in flexgrid Pin
zeus_master11-May-06 23:13
zeus_master11-May-06 23:13 
GeneralRe: message BN_CLICKED for button in flexgrid Pin
zeus_master11-May-06 23:43
zeus_master11-May-06 23:43 
QuestionCreate a child window Pin
v3r50r10-May-06 23:34
v3r50r10-May-06 23:34 
AnswerRe: Create a child window Pin
Russell'10-May-06 23:57
Russell'10-May-06 23:57 
GeneralRe: Create a child window Pin
v3r50r11-May-06 0:01
v3r50r11-May-06 0:01 
GeneralRe: Create a child window Pin
Cedric Moonen11-May-06 0:05
Cedric Moonen11-May-06 0:05 
GeneralRe: Create a child window Pin
v3r50r11-May-06 0:13
v3r50r11-May-06 0:13 
GeneralRe: Create a child window Pin
Cedric Moonen11-May-06 0:56
Cedric Moonen11-May-06 0:56 
You only need to show some parameters value in a string for example ? Then it is much easier to go for a simple MessageBox.

Here is how you can do that (let's say that you want to show the values of Param1 and Param2 wich are both integers):

char szString[255];
sprintf(szString,"Value of Param1: %i, Value of Param2: %i",Param1,Param2);
MessageBox(szString);


(I suppose you put this code in a class derived from CWnd).

Take a look at the doc of sprintf[^] for more details.
GeneralRe: Create a child window Pin
Russell'11-May-06 0:05
Russell'11-May-06 0:05 
GeneralRe: Create a child window Pin
v3r50r11-May-06 0:07
v3r50r11-May-06 0:07 
GeneralRe: Create a child window Pin
Russell'11-May-06 0:17
Russell'11-May-06 0:17 
Questioncharset for the current language OS. Pin
Sandeep. Vaidya10-May-06 23:33
Sandeep. Vaidya10-May-06 23:33 
QuestionSerial Port interrupt Pin
aasstt10-May-06 22:55
aasstt10-May-06 22:55 
AnswerRe: Serial Port interrupt Pin
Cedric Moonen10-May-06 23:02
Cedric Moonen10-May-06 23:02 
GeneralRe: Serial Port interrupt Pin
Maxwell Chen10-May-06 23:34
Maxwell Chen10-May-06 23:34 
AnswerRe: Serial Port interrupt Pin
kakan11-May-06 0:37
professionalkakan11-May-06 0:37 
AnswerRe: Serial Port interrupt Pin
ThatsAlok11-May-06 19:52
ThatsAlok11-May-06 19:52 
AnswerRe: Update AllViews To a Doc from a Dialog Pin
Russell'10-May-06 23:03
Russell'10-May-06 23:03 
GeneralRe: Update AllViews To a Doc from a Dialog Pin
Hamid_RT11-May-06 0:16
Hamid_RT11-May-06 0:16 
JokeRe: Update AllViews To a Doc from a Dialog Pin
Russell'11-May-06 0:29
Russell'11-May-06 0:29 
GeneralRe: Update AllViews To a Doc from a Dialog Pin
Hamid_RT11-May-06 0:34
Hamid_RT11-May-06 0:34 
QuestionGet a child window? Pin
see me10-May-06 22:33
see me10-May-06 22:33 
AnswerRe: Get a child window? Pin
Russell'10-May-06 23:09
Russell'10-May-06 23:09 
AnswerRe: Get a child window? Pin
Hamid_RT10-May-06 23:11
Hamid_RT10-May-06 23:11 
GeneralRe: Get a child window? Pin
see me11-May-06 0:45
see me11-May-06 0:45 

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.