| Lamblion (149) | |
In Winuser.h we have this...
1 2
|
#define MF_UNCHECKED 0x00000000L
#define MF_CHECKED 0x00000008L
|
The L on the end has me wondering if I am safe to use size_t on these, for example...
1 2
|
size_t MF_WONTOP;
bWONTOP==TRUE ? MF_WONTOP=MF_CHECKED : MF_WONTOP=MF_UNCHECKED;
|
Or do I need to cast MF_WONTOP as a long? |
|
| Bazzy (3168) | |
since MF_CHECKED and MF_UNCHECKED have only low values you can use size_t but a long would be better, even because size_t should be unsigned |
|
| Lamblion (149) | |
| Okay, thanks. That's what I was thinking, but I'm still feeling my way on these things. |
|