M
Martijn
Hi,
Those familiar with Windows programming may be familiar with the windowsx.h
header. In this header macros exist that use double casts, like so (hope
this is readable):
#define ComboBox_LimitText(hwndCtl,cchLimit) \
((int)(DWORD)SendMessage((hwndCtl),CB_LIMITTEXT,(WPARAM)(int)(cchLimit),0))
Why is this? Does this help in typechecking? (I would think not).
Thanks for the info,
Those familiar with Windows programming may be familiar with the windowsx.h
header. In this header macros exist that use double casts, like so (hope
this is readable):
#define ComboBox_LimitText(hwndCtl,cchLimit) \
((int)(DWORD)SendMessage((hwndCtl),CB_LIMITTEXT,(WPARAM)(int)(cchLimit),0))
Why is this? Does this help in typechecking? (I would think not).
Thanks for the info,