Jose,
I just noticed this in AfxCtl:
#if _WIN32_WINNT = &h0602
PRIVATE SUB Button_SetDontClick (BYVAL hButton AS HWND, BYVAL bState AS BOOL)
SendMessageW(hButton, BM_SETDONTCLICK, cast(WPARAM, bState), 0)
END SUB
#endif
Is limiting this function to Windows 8 and above your intention?
BM_SETDONTCLICK has been available since vista:
https://msdn.microsoft.com/en-us/library/windows/desktop/bb775990(v=vs.85).aspx
James
I know, but the FB headers don't support &H600
From winuser.bi
#if _WIN32_WINNT = &h0602
const BM_SETDONTCLICK = &h00f8
#endif
If you're going to use something that requires Vista or superior, use:
#define _WIN32_WINNT &h0602