Click here to Skip to main content
15,897,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRichEdit Control Pin
Pazzuzu14-Jun-04 23:44
Pazzuzu14-Jun-04 23:44 
GeneralRe: RichEdit Control Pin
toxcct15-Jun-04 0:04
toxcct15-Jun-04 0:04 
GeneralRe: RichEdit Control Pin
Pazzuzu15-Jun-04 0:58
Pazzuzu15-Jun-04 0:58 
GeneralRe: RichEdit Control Pin
toxcct15-Jun-04 0:58
toxcct15-Jun-04 0:58 
GeneralRe: RichEdit Control Pin
Pazzuzu15-Jun-04 1:05
Pazzuzu15-Jun-04 1:05 
GeneralTelephony(TAPI) Pin
Fouad_kayali14-Jun-04 23:42
Fouad_kayali14-Jun-04 23:42 
GeneralRe: Telephony(TAPI) Pin
Michael P Butler15-Jun-04 0:01
Michael P Butler15-Jun-04 0:01 
QuestionNice discussion point ? Pin
V.14-Jun-04 23:11
professionalV.14-Jun-04 23:11 
-> this stood in the code:
bool bAllowUnvalidateTextResult = !!siteFlags.GetNbrValue(ALLOW_UNVALIDATE_TEXTRESULT);

Colleagues told me the "!!" was to make sure it was 0 or 1 false or true.
Is this so? Why not
static_cast<bool>(siteFlags.GetNbrValue(ALLOW_UNVALIDATE_TEXTRESULT)); ???

tnx.

"If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimmy Hendrix
AnswerRe: Nice discussion point ? Pin
Iain Clarke, Warrior Programmer14-Jun-04 23:28
Iain Clarke, Warrior Programmer14-Jun-04 23:28 
GeneralRe: Nice discussion point ? Pin
toxcct14-Jun-04 23:38
toxcct14-Jun-04 23:38 
GeneralRe: Nice discussion point ? Pin
Antony M Kancidrowski15-Jun-04 0:03
Antony M Kancidrowski15-Jun-04 0:03 
AnswerRe: Nice discussion point ? Pin
Antony M Kancidrowski15-Jun-04 0:08
Antony M Kancidrowski15-Jun-04 0:08 
AnswerRe: Nice discussion point ? Pin
David Crow15-Jun-04 2:31
David Crow15-Jun-04 2:31 
GeneralRe: Nice discussion point ? Pin
toxcct15-Jun-04 2:45
toxcct15-Jun-04 2:45 
GeneralRe: Nice discussion point ? Pin
David Crow15-Jun-04 2:59
David Crow15-Jun-04 2:59 
GeneralRe: Nice discussion point ? Pin
toxcct15-Jun-04 3:20
toxcct15-Jun-04 3:20 
GeneralRe: Nice discussion point ? Pin
V.15-Jun-04 3:01
professionalV.15-Jun-04 3:01 
GeneralRe: Nice discussion point ? Pin
toxcct15-Jun-04 3:26
toxcct15-Jun-04 3:26 
GeneralRe: Nice discussion point ? Pin
V.15-Jun-04 3:42
professionalV.15-Jun-04 3:42 
GeneralRe: Nice discussion point ? Pin
Tim Smith15-Jun-04 3:51
Tim Smith15-Jun-04 3:51 
GeneralRe: Nice discussion point ? Pin
bikram singh15-Jun-04 3:58
bikram singh15-Jun-04 3:58 
GeneralRe: Nice discussion point ? Pin
toxcct15-Jun-04 4:00
toxcct15-Jun-04 4:00 
GeneralSure you can :) Pin
bikram singh15-Jun-04 4:49
bikram singh15-Jun-04 4:49 
GeneralRe: Sure you can :) Pin
toxcct15-Jun-04 4:52
toxcct15-Jun-04 4:52 
GeneralRe: Sure you can :) Pin
bikram singh15-Jun-04 5:02
bikram singh15-Jun-04 5:02 

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.