>>I was looking for something in the object browser and notice following:
>>Constant wdAlertsAll = -1
>>Hex: -0x00000001, Bin: 11111111
>>Member of Word (cached).WdAlertLevel
The part that get me curious is
Hex: -0x00000001
I never encountered negative hex numbers before. Shouldn't it be?
Hex: 0xff
>
>If it's a DWORD, then it should be 0xFFFFFFFF. The binary representation you show is only a byte. Generally, bytes are unsigned, words and dwords can be signed or unsigned. Why the representation the way it is, I can only guess.
My best guess is that the key is defined as a signed 8-bit integer, and when treated as a UCHAR, is represented by the value 0xFF