Click here to Skip to main content
15,890,579 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRadio Button's Satus?? Pin
AmbiguousName18-Jul-10 4:01
AmbiguousName18-Jul-10 4:01 
AnswerRe: Radio Button's Satus?? Pin
Maximilien18-Jul-10 4:09
Maximilien18-Jul-10 4:09 
AnswerRe: Radio Button's Satus?? Pin
rp_suman18-Jul-10 8:31
rp_suman18-Jul-10 8:31 
GeneralRe: Radio Button's Satus?? Pin
Maximilien18-Jul-10 14:38
Maximilien18-Jul-10 14:38 
GeneralRe: Radio Button's Satus?? Pin
Randor 18-Jul-10 15:40
professional Randor 18-Jul-10 15:40 
GeneralRe: Radio Button's Satus?? Pin
Richard MacCutchan18-Jul-10 22:16
mveRichard MacCutchan18-Jul-10 22:16 
GeneralRe: Radio Button's Satus?? Pin
Randor 19-Jul-10 6:21
professional Randor 19-Jul-10 6:21 
GeneralRe: Radio Button's Satus?? Pin
Richard MacCutchan19-Jul-10 7:40
mveRichard MacCutchan19-Jul-10 7:40 
Randor wrote:
The upcast in the documentation is completely pointless


I disagree; the upcast makes it clear what the code is trying to do. Since the actual item being returned is a CButton (even though GetDlgItem doesn't know that) it would seem the sensible thing to do, especially if you then want to call some method on the CButton object.
It's time for a new signature.

QuestionRe: Radio Button's Satus?? Pin
Randor 19-Jul-10 8:14
professional Randor 19-Jul-10 8:14 
AnswerRe: Radio Button's Satus?? Pin
Richard MacCutchan19-Jul-10 22:12
mveRichard MacCutchan19-Jul-10 22:12 
GeneralRe: Radio Button's Satus?? Pin
Randor 20-Jul-10 6:00
professional Randor 20-Jul-10 6:00 
GeneralRe: Radio Button's Satus?? [modified] Pin
Richard MacCutchan20-Jul-10 7:13
mveRichard MacCutchan20-Jul-10 7:13 
GeneralRe: Radio Button's Satus?? Pin
Randor 20-Jul-10 7:53
professional Randor 20-Jul-10 7:53 
AnswerRe: Radio Button's Satus?? Pin
bolivar12319-Jul-10 8:50
bolivar12319-Jul-10 8:50 
Questionproblem in skipping line in csv format files Pin
naveed tahir17-Jul-10 11:41
naveed tahir17-Jul-10 11:41 
AnswerRe: problem in skipping line in csv format files Pin
«_Superman_»17-Jul-10 18:07
professional«_Superman_»17-Jul-10 18:07 
AnswerRe: problem in skipping line in csv format files Pin
Garth J Lancaster17-Jul-10 18:10
professionalGarth J Lancaster17-Jul-10 18:10 
Questionerror C2440 Pin
mdocvc17-Jul-10 8:22
mdocvc17-Jul-10 8:22 
AnswerRe: error C2440 Pin
Aescleal17-Jul-10 9:37
Aescleal17-Jul-10 9:37 
Questioncalculating bytes per second Pin
saiyuk6=717-Jul-10 7:46
saiyuk6=717-Jul-10 7:46 
AnswerRe: calculating bytes per second Pin
Chris Losinger17-Jul-10 8:37
professionalChris Losinger17-Jul-10 8:37 
GeneralRe: calculating bytes per second Pin
saiyuk6=717-Jul-10 8:45
saiyuk6=717-Jul-10 8:45 
QuestionRe: calculating bytes per second Pin
David Crow19-Jul-10 5:46
David Crow19-Jul-10 5:46 
AnswerRe: calculating bytes per second [modified] Pin
saiyuk6=719-Jul-10 14:15
saiyuk6=719-Jul-10 14:15 
GeneralRe: calculating bytes per second Pin
David Crow20-Jul-10 2:22
David Crow20-Jul-10 2:22 

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.