Click here to Skip to main content
15,904,638 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Opening Sound File Using PlaySound(); Pin
AmbiguousName18-Jul-10 21:41
AmbiguousName18-Jul-10 21:41 
GeneralRe: Opening Sound File Using PlaySound(); Pin
Code-o-mat18-Jul-10 21:51
Code-o-mat18-Jul-10 21:51 
GeneralRe: Opening Sound File Using PlaySound(); Pin
AmbiguousName18-Jul-10 22:07
AmbiguousName18-Jul-10 22:07 
GeneralRe: Opening Sound File Using PlaySound(); Pin
Code-o-mat18-Jul-10 22:08
Code-o-mat18-Jul-10 22:08 
AnswerRe: Opening Sound File Using PlaySound(); Pin
Shivanand Gupta18-Jul-10 23:57
Shivanand Gupta18-Jul-10 23:57 
QuestionSometimes Print and PrintPreview Function not responding in 64 bit PC. [modified] Pin
Le@rner18-Jul-10 19:36
Le@rner18-Jul-10 19:36 
QuestionNamed Pipes 2-way commication Pin
dene9997018-Jul-10 13:23
dene9997018-Jul-10 13:23 
AnswerRe: Named Pipes 2-way commication Pin
Luc Pattyn18-Jul-10 14:12
sitebuilderLuc Pattyn18-Jul-10 14:12 
AnswerRe: Named Pipes 2-way commication Pin
Chuck O'Toole18-Jul-10 18:20
Chuck O'Toole18-Jul-10 18:20 
AnswerRe: Named Pipes 2-way commication Pin
ThatsAlok18-Jul-10 20:47
ThatsAlok18-Jul-10 20:47 
AnswerRe: Named Pipes 2-way commication Pin
Moak18-Jul-10 23:43
Moak18-Jul-10 23:43 
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 

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.