titanandrews
Programmer
Hi,
In the DLGITEMTEMPLATE section of Win32 API, there is a list of common controls with a hex value and meaning.
Value Meaning
0x0080 Button
0x0081 Edit
0x0082 Static
0x0083 List box
0x0084 Scroll bar
0x0085 Combo box
When I run this piece of code:
atom's value is 49175 which in hex is 0xC017. This of course is not 0x0080 as specified in the table above. Is it supposed to be the same? If not, how do I get this 0x0080 value at runtime? Ultimately, I want the hex value for a SysDateTimePick32 (Date/Time) control. But I thought it was better to try and get a common control first.
many thanks,
Barry
In the DLGITEMTEMPLATE section of Win32 API, there is a list of common controls with a hex value and meaning.
Value Meaning
0x0080 Button
0x0081 Edit
0x0082 Static
0x0083 List box
0x0084 Scroll bar
0x0085 Combo box
When I run this piece of code:
Code:
WNDCLASSEX wcx;
ATOM atom;
wcx.cbSize = sizeof(wcx);
GetClassInfoEx(NULL, "Button", &wcx);
atom = RegisterClassEx(&wcx);
atom's value is 49175 which in hex is 0xC017. This of course is not 0x0080 as specified in the table above. Is it supposed to be the same? If not, how do I get this 0x0080 value at runtime? Ultimately, I want the hex value for a SysDateTimePick32 (Date/Time) control. But I thought it was better to try and get a common control first.
many thanks,
Barry