Click here to Skip to main content
15,921,226 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCxImage Pin
surfman1921-May-06 20:52
surfman1921-May-06 20:52 
AnswerRe: CxImage Pin
GDavy21-May-06 22:34
GDavy21-May-06 22:34 
QuestionUpdateData Problem Pin
VinayCool21-May-06 20:03
VinayCool21-May-06 20:03 
AnswerRe: UpdateData Problem Pin
Naveen21-May-06 20:14
Naveen21-May-06 20:14 
AnswerRe: UpdateData Problem Pin
PJ Arends21-May-06 20:14
professionalPJ Arends21-May-06 20:14 
AnswerRe: UpdateData Problem Pin
Laxman Auti21-May-06 20:14
Laxman Auti21-May-06 20:14 
GeneralRe: UpdateData Problem Pin
VinayCool21-May-06 20:43
VinayCool21-May-06 20:43 
GeneralRe: UpdateData Problem Pin
Nibu babu thomas21-May-06 20:49
Nibu babu thomas21-May-06 20:49 
vinaycool wrote:
if i use the UpdateData(TRUE);

the nthe value is not getting displayed....



Why don't you use SetWindowText and GetWindowText for such simple manipulations.

As PJ said UpdateData should be avoided for complex manipulations. Of course you can use it for one touch updations. Except for that it shouldn't be used.

The name UpdateData itself is confusion. I personally get confused as to what's happening. Smile | :) I am not sure whether it's updating to the variable or to the control.


Nibu thomas
Software Developer

Programming Tips[^]

AnswerRe: UpdateData Problem Pin
VinayCool21-May-06 21:41
VinayCool21-May-06 21:41 
GeneralRe: UpdateData Problem Pin
Nibu babu thomas21-May-06 21:43
Nibu babu thomas21-May-06 21:43 
GeneralRe: UpdateData Problem Pin
Laxman Auti21-May-06 22:24
Laxman Auti21-May-06 22:24 
GeneralRe: UpdateData Problem Pin
Nibu babu thomas21-May-06 22:30
Nibu babu thomas21-May-06 22:30 
Questionrun external app on button click Pin
F.Smadi21-May-06 20:02
F.Smadi21-May-06 20:02 
AnswerRe: run external app on button click Pin
Laxman Auti21-May-06 20:06
Laxman Auti21-May-06 20:06 
AnswerRe: run external app on button click Pin
Hamid_RT21-May-06 20:07
Hamid_RT21-May-06 20:07 
AnswerRe: run external app on button click Pin
Nibu babu thomas21-May-06 20:08
Nibu babu thomas21-May-06 20:08 
AnswerRe: run external app on button click Pin
VinayCool21-May-06 20:08
VinayCool21-May-06 20:08 
AnswerRe: run external app on button click Pin
ThatsAlok22-May-06 0:37
ThatsAlok22-May-06 0:37 
GeneralRe: run external app on button click Pin
Hamid_RT21-May-06 20:14
Hamid_RT21-May-06 20:14 
GeneralRe: run external app on button click Pin
Maxwell Chen22-May-06 0:06
Maxwell Chen22-May-06 0:06 
GeneralRe: run external app on button click Pin
Hamid_RT22-May-06 4:09
Hamid_RT22-May-06 4:09 
GeneralRe: run external app on button click Pin
ThatsAlok22-May-06 0:34
ThatsAlok22-May-06 0:34 
GeneralRe: run external app on button click Pin
Hamid_RT22-May-06 4:10
Hamid_RT22-May-06 4:10 
GeneralRe: run external app on button click Pin
ThatsAlok22-May-06 4:13
ThatsAlok22-May-06 4:13 
GeneralRe: run external app on button click Pin
Hamid_RT22-May-06 4:26
Hamid_RT22-May-06 4:26 

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.