Click here to Skip to main content
15,891,846 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Sorry but I'm still not clear on this. It doesn't matter whether the object pointer is permanent or temporary, it is still a CButton*. If the object does not exist, or the value to GetDlgItem() is not valid you won't get a pointer to anything.

OK David,
I have just read that article again and understand (almost, but not completely) why your assertion was correct. Sorry, for belabouring this but my experience of MFC was that this upcasting always worked; I just hope nobody is still using one of my old programs.

Thanks for the guidance.

Richard
It's time for a new signature.
modified on Tuesday, July 20, 2010 1:28 PM

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 
GeneralRe: calculating bytes per second [modified] Pin
saiyuk6=720-Jul-10 5:36
saiyuk6=720-Jul-10 5:36 
QuestionOutputDebugString in x64 Pin
Pascal Ganaye17-Jul-10 0:51
Pascal Ganaye17-Jul-10 0:51 
AnswerRe: OutputDebugString in x64 Pin
Rajesh R Subramanian17-Jul-10 8:06
professionalRajesh R Subramanian17-Jul-10 8:06 
Questionhow to know the downloaded data from the net for a PC Pin
Sakhalean16-Jul-10 23:25
Sakhalean16-Jul-10 23:25 

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.