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

C / C++ / MFC

 
AnswerRe: CList new and delete Pin
Cedric Moonen21-Jun-07 20:48
Cedric Moonen21-Jun-07 20:48 
GeneralRe: CList new and delete Pin
devvvy21-Jun-07 21:07
devvvy21-Jun-07 21:07 
GeneralRe: CList new and delete Pin
Cedric Moonen21-Jun-07 21:20
Cedric Moonen21-Jun-07 21:20 
QuestionDisplaying text on a Dialog Pin
Suneet.0321-Jun-07 19:50
Suneet.0321-Jun-07 19:50 
AnswerRe: Displaying text on a Dialog Pin
Hamid_RT21-Jun-07 20:25
Hamid_RT21-Jun-07 20:25 
GeneralRe: Displaying text on a Dialog Pin
Suneet.0321-Jun-07 21:32
Suneet.0321-Jun-07 21:32 
AnswerRe: Displaying text on a Dialog Pin
zhang80060521-Jun-07 21:12
zhang80060521-Jun-07 21:12 
AnswerRe: Displaying text on a Dialog Pin
sps-itsec4621-Jun-07 21:14
sps-itsec4621-Jun-07 21:14 
That's quite easy...

(Step 1) Change the ID of your static control to something other than IDC_STATIC. For example IDC_MY_TEXT.

(Step 2) You can set the text of your static control programatically at any place in your code (e.g. in OnInitDialog()) with the following method:
SetDlgItemText(IDC_MY_TEXT, "Here goes your text!");
The text can surely be a CString instance or the return value of your getData() method.

cheers,
mykel

OMM: "Let us be thankful we have an occupation to fill. Work hard, increase production, prevent accidents and be happy."

GeneralRe: Displaying text on a Dialog Pin
Suneet.0321-Jun-07 22:29
Suneet.0321-Jun-07 22:29 
GeneralRe: Displaying text on a Dialog Pin
sps-itsec4622-Jun-07 0:14
sps-itsec4622-Jun-07 0:14 
AnswerRe: How to open message Queue with send and Receive access mode Pin
SandipG 21-Jun-07 20:49
SandipG 21-Jun-07 20:49 
Questionerror coming in class derived from CListVeiw Pin
neha.agarwal2721-Jun-07 19:35
neha.agarwal2721-Jun-07 19:35 
AnswerRe: error coming in class derived from CListVeiw Pin
Rajkumar R21-Jun-07 19:58
Rajkumar R21-Jun-07 19:58 
GeneralRe: error coming in class derived from CListVeiw Pin
neha.agarwal2721-Jun-07 20:06
neha.agarwal2721-Jun-07 20:06 
GeneralRe: error coming in class derived from CListVeiw Pin
neha.agarwal2721-Jun-07 20:41
neha.agarwal2721-Jun-07 20:41 
AnswerRe: error coming in class derived from CListVeiw Pin
Rajkumar R21-Jun-07 22:33
Rajkumar R21-Jun-07 22:33 
QuestionHow to OR Arrays Without loop Pin
SandipG 21-Jun-07 18:40
SandipG 21-Jun-07 18:40 
AnswerRe: How to OR Arrays Without loop Pin
Cyrilix21-Jun-07 18:43
Cyrilix21-Jun-07 18:43 
GeneralRe: How to OR Arrays Without loop Pin
SandipG 21-Jun-07 18:48
SandipG 21-Jun-07 18:48 
GeneralRe: How to OR Arrays Without loop Pin
Cyrilix21-Jun-07 20:05
Cyrilix21-Jun-07 20:05 
GeneralRe: How to OR Arrays Without loop Pin
SandipG 21-Jun-07 20:23
SandipG 21-Jun-07 20:23 
GeneralRe: How to OR Arrays Without loop Pin
Mark Salsbery22-Jun-07 6:26
Mark Salsbery22-Jun-07 6:26 
GeneralRe: How to OR Arrays Without loop Pin
Mark Salsbery22-Jun-07 6:34
Mark Salsbery22-Jun-07 6:34 
Questioncopy a file bit -by- bit Pin
Manmohan2921-Jun-07 17:15
Manmohan2921-Jun-07 17:15 
AnswerRe: copy a file bit -by- bit Pin
Mark Salsbery21-Jun-07 17:57
Mark Salsbery21-Jun-07 17:57 

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.