-
Hi,
You know how you declare constants like:
Public Const WM_MOVE = &H3
Well, I want to declare the constant for:
WM_EXITSIZEMOVE
but all I could find was a declaration of this in the Winuser.h file like:
#define WM_EXITSIZEMOVE 0x0232
I tried using it like:
Public Const WM_EXITSIZEMOVE = 0x0232
in VB, but it doesn't seem to like that number.. I was wondering how I could translate the 0x0232 to hexidecimal format in order to declare it properly..
Any help would be appreciated..
Dan
-
Hex
The 0x in front of the number simply means that the number is in hex, just like the &H in your own example.
So 0x0232 in C translates to &H0232 in VB.
Shrog
-
0x is &H in vb.
So, the value in vb is &H0232.