Re: DDV functions?
- From: "Micky" <micky@xxxxxxxxxx>
- Date: Sat, 3 Sep 2005 22:35:51 +0000 (UTC)
"Manikandan" <manikandan_r@xxxxxxxxxxx> wrote in message
news:O5jhwgPYFHA.3712@xxxxxxxxxxxxxxxxxxxxxxx
> hi all,
>
> i am beginner.
>
> i've created four check boxes,how to validate them
> that atleast one combo box is selected using DDV function.
Use bitwise OR or logical OR on all your checkbox member variables. For
example:
// bitwise
if(m_bCheck1| m_bCheck2 | m_bCheck3 | m_bCheck4)
// result is non-zero - data is valid
else
// result is 0 - data is invalid
// logical
if(m_bCheck1|| m_bCheck2 || m_bCheck3 || m_bCheck4)
// result is non-zero - data is valid
else
// result is 0 - data is invalid
.
- Prev by Date: MFC RichEdit 2.0 and RTF
- Next by Date: Re: any idea on how do i convert a string value to an byte
- Previous by thread: MFC RichEdit 2.0 and RTF
- Next by thread: Re: any idea on how do i convert a string value to an byte
- Index(es):