You have to nest the Bitor() calls. Bitor(RDW_ERASE,Bitor(RDW_INVALIDATE,Bitor(RDW_ALLCHILDREN,RDW_UPDATENOW)))
>>>liMyFlags = RDW_UPDATENOW OR RDW_ALLCHILDREN
>>>
>>>it tells me that it is an invalid value. Am I combining these flags correctly?
>>
>>Hmm, I'm surprised it even compiles. You need to use BITOR for bitwise OR operations.
>
>So, if this is the case, how would I send 4 flags? In VB what I am trying to do it looks like this I guess:
>
>RDW_ERASE Or RDW_INVALIDATE Or RDW_ALLCHILDREN Or RDW_UPDATENOW
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao