Click here to Skip to main content
15,896,730 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Newbie C++ question Pin
David Crow6-Jan-04 5:16
David Crow6-Jan-04 5:16 
GeneralNewbie C++ question Pin
Anonymous5-Jan-04 11:25
Anonymous5-Jan-04 11:25 
QuestionHow to monitor file operations Pin
shaomin5-Jan-04 10:37
shaomin5-Jan-04 10:37 
AnswerRe: How to monitor file operations Pin
Ravi Bhavnani5-Jan-04 11:48
professionalRavi Bhavnani5-Jan-04 11:48 
GeneralRe: How to monitor file operations Pin
shaomin8-Jan-04 12:55
shaomin8-Jan-04 12:55 
GeneralCalling UpdateData(FALSE) will screw my RadioButton-group selection Pin
andreir235-Jan-04 9:33
andreir235-Jan-04 9:33 
GeneralRe: Calling UpdateData(FALSE) will screw my RadioButton-group selection Pin
abc8765-Jan-04 10:05
abc8765-Jan-04 10:05 
GeneralRe: Calling UpdateData(FALSE) will screw my RadioButton-group selection Pin
David Crow5-Jan-04 10:13
David Crow5-Jan-04 10:13 
andreir23 wrote:
But MY PROBLEM IS THAT IN THAT MOMENT THE RADIO BUTTON SELECTION SCREWS UP.
How is that? If "Decode" was selected before UpdateData(2nd radio button - "1") then "Encode" will become selected (1st radio button - "0").

HOW CAN I AVOID THIS? Not calling UpdateData or UpdateData() or UpdateData(TRUE) will cause this: m_Source = "C:\\AnyFile.txt"; does not update visually the static text control in my app.


Which is why UpdateData() should be used as little, if at all, as necessary. Use member control variables instead.


A rich person is not the one who has the most, but the one that needs the least.
GeneralRe: Calling UpdateData(FALSE) will screw my RadioButton-group selection Pin
andreir235-Jan-04 11:17
andreir235-Jan-04 11:17 
GeneralRe: Calling UpdateData(FALSE) will screw my RadioButton-group selection Pin
abc8765-Jan-04 20:20
abc8765-Jan-04 20:20 
GeneralRe: Calling UpdateData(FALSE) will screw my RadioButton-group selection Pin
Nick Hodapp5-Jan-04 10:27
sitebuilderNick Hodapp5-Jan-04 10:27 
Generalsprintf formatting with conditional statement Pin
shultas5-Jan-04 8:45
shultas5-Jan-04 8:45 
GeneralRe: sprintf formatting with conditional statement Pin
Tyler Kellen5-Jan-04 8:49
Tyler Kellen5-Jan-04 8:49 
GeneralRe: sprintf formatting with conditional statement Pin
abc8765-Jan-04 8:57
abc8765-Jan-04 8:57 
GeneralRe: sprintf formatting with conditional statement Pin
Prakash Nadar5-Jan-04 16:08
Prakash Nadar5-Jan-04 16:08 
GeneralRe: sprintf formatting with conditional statement Pin
abc8765-Jan-04 19:47
abc8765-Jan-04 19:47 
GeneralRe: sprintf formatting with conditional statement Pin
Prakash Nadar5-Jan-04 20:15
Prakash Nadar5-Jan-04 20:15 
GeneralRe: sprintf formatting with conditional statement Pin
abc8765-Jan-04 20:34
abc8765-Jan-04 20:34 
GeneralRe: sprintf formatting with conditional statement Pin
Prakash Nadar5-Jan-04 21:28
Prakash Nadar5-Jan-04 21:28 
GeneralRe: sprintf formatting with conditional statement Pin
Ian Darling5-Jan-04 9:01
Ian Darling5-Jan-04 9:01 
GeneralRe: sprintf formatting with conditional statement Pin
Tyler Kellen5-Jan-04 9:05
Tyler Kellen5-Jan-04 9:05 
GeneralRe: sprintf formatting with conditional statement Pin
Jörgen Sigvardsson5-Jan-04 9:45
Jörgen Sigvardsson5-Jan-04 9:45 
GeneralRe: sprintf formatting with conditional statement Pin
Ian Darling5-Jan-04 9:53
Ian Darling5-Jan-04 9:53 
GeneralRe: sprintf formatting with conditional statement Pin
Jörgen Sigvardsson5-Jan-04 9:58
Jörgen Sigvardsson5-Jan-04 9:58 
GeneralRe: sprintf formatting with conditional statement Pin
Ian Darling5-Jan-04 10:06
Ian Darling5-Jan-04 10:06 

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.