C
Chris Dunaway
CBool(flag And &H10)
IMHO, it makes no sense to convert an integer to a Boolean. A boolean is
either True or False and has no value. I realize that there are API
functions that return 1 or some other integer to mean "true" but I think
you should test for that explicit condition:
If retval = 1 Then
Instead of
If CBool(retval) Then
Just my 2/100 of a dollar.