Click here to Skip to main content
15,913,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: what is the difference between strcpy and lstrcpy? Pin
Jack Puppy17-Nov-04 1:08
Jack Puppy17-Nov-04 1:08 
GeneralRe: what is the difference between strcpy and lstrcpy? Pin
David Crow17-Nov-04 3:15
David Crow17-Nov-04 3:15 
GeneralUpdating modeless daialog box Pin
Zero_G16-Nov-04 15:22
Zero_G16-Nov-04 15:22 
GeneralRe: Updating modeless daialog box Pin
bryce16-Nov-04 17:47
bryce16-Nov-04 17:47 
QuestionHow to access Radio Button with just ID Pin
Jack_pt16-Nov-04 15:11
Jack_pt16-Nov-04 15:11 
AnswerRe: How to access Radio Button with just ID Pin
Anonymous16-Nov-04 15:45
Anonymous16-Nov-04 15:45 
GeneralRe: How to access Radio Button with just ID Pin
Jack_pt17-Nov-04 3:11
Jack_pt17-Nov-04 3:11 
AnswerRe: How to access Radio Button with just ID Pin
Jack Puppy16-Nov-04 16:58
Jack Puppy16-Nov-04 16:58 
I used to use the pointer method, and then one day I stumbled upon this function:

UINT IsDlgButtonChecked( int nIDButton ) const;

So, if you want to determine if the IDC_R1 button is checked, simply:

<br />
if (IsDlgButtonChecked(IDC_R1) != 0)<br />
   AfxMessageBox("Checked");<br />




Cool | :cool: Pssst. You see that little light on your monitor? That's actually a government installed spy camera. Smile and wave to big brother!
GeneralRe: How to access Radio Button with just ID Pin
Jack_pt17-Nov-04 3:14
Jack_pt17-Nov-04 3:14 
GeneralRe: How to access Radio Button with just ID Pin
Bo Hunter17-Nov-04 14:05
Bo Hunter17-Nov-04 14:05 
GeneralDesign Pin
Anonymous16-Nov-04 14:37
Anonymous16-Nov-04 14:37 
GeneralRe: Design Pin
Henry miller17-Nov-04 2:20
Henry miller17-Nov-04 2:20 
Generalplay stream audio Pin
don7cry16-Nov-04 14:16
don7cry16-Nov-04 14:16 
Generalgame code Pin
bigdeeoo716-Nov-04 14:09
bigdeeoo716-Nov-04 14:09 
GeneralRe: game code Pin
Maximilien16-Nov-04 14:24
Maximilien16-Nov-04 14:24 
GeneralRe: game code Pin
bigdeeoo716-Nov-04 14:45
bigdeeoo716-Nov-04 14:45 
GeneralRe: game code Pin
bigdeeoo716-Nov-04 16:35
bigdeeoo716-Nov-04 16:35 
GeneralRe: game code Pin
namaskaaram16-Nov-04 16:51
namaskaaram16-Nov-04 16:51 
GeneralRe: game code Pin
Antony M Kancidrowski17-Nov-04 0:27
Antony M Kancidrowski17-Nov-04 0:27 
GeneralRe: game code Pin
bigdeeoo719-Nov-04 9:34
bigdeeoo719-Nov-04 9:34 
GeneralRe: game code Pin
Antony M Kancidrowski19-Nov-04 11:34
Antony M Kancidrowski19-Nov-04 11:34 
GeneralRe: game code Pin
Alexander M.,17-Nov-04 9:57
Alexander M.,17-Nov-04 9:57 
GeneralRe: game code Pin
bigdeeoo719-Nov-04 9:28
bigdeeoo719-Nov-04 9:28 
Generaldetect/handle title bar double clicks Pin
Will Davidow16-Nov-04 12:28
Will Davidow16-Nov-04 12:28 
GeneralRe: detect/handle title bar double clicks Pin
Jack Puppy16-Nov-04 17:09
Jack Puppy16-Nov-04 17:09 

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.