Re: Check a radio button

Tech-Archive recommends: Speed Up your PC by fixing your registry



Are you always like this?

Adding an extra member to a class increases the object's size. I don't know
why it can be a problem, but who knows what kind of code out there depends
on a fixed object's size?


"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in message
news:st3u53tntb7baot7c4klqupc1hrobtt6as@xxxxxxxxxx
See below...
On Thu, 31 May 2007 18:42:09 +0500, "Usman Jamil" <usman@xxxxxxxxxxx>
wrote:

Hi

I'm working in VC++. I've two radio buttons on a dialog. When the dialog
appears, none of those two is checked. Is there any way I can show either
one of the radio buttons to be checked by default when the dialog appears.
I
have to do it without adding a control variable to the radio buttons.
*****
This is such a profoundly silly restriction it hardly seems worth
answering the question.
In what weird world do you live in where creating control variables is
even considered
optional? I find the statement to be nonsensical. Can you justify such a
ridiculous
requirement?

Try
CheckRadioButton(low, high, selection)

but try to think about programming a reasonable fashion, and questions
that suggest that
creating a control variable is somehow something other than the most
fundamental paradigm
of programming strike me that you are living a world of cluelessness.
joe
*****

Regards


Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm


.


Quantcast