ON_COMMAND_RANGE(IDC_But1,IDC_But16,MoveButton)
Can any 1 tell me whats wrong in this ABOVE code?? it give me error on MoveButton
type cast' : cannot convert from 'int (__cdecl *)(int)' to 'void (__thiscall CCmdTarget::*)(unsigned int)'
this error MoveButton is func with parametter int btn and is of type BOOL.
while IDC_But1 and IDC_But16 return void.
MoveButton is a handler bt its nt working. why??? whats the problum?? i couldnt caught it.