How about simply removing the double click style from the window's class?
BOOL YourButtonClass::PreCreateWindow(CREATESTRUCT &cs)
{
WNDCLASS wndClass = { 0 };
GetClassInfo(NULL, cs.lpszClass, &wndClass);
wndClass.style &= ~CS_DBLCLKS;
wndClass.lpszClassName = _T("BUTTON-DBLCLKS");
if (AfxRegisterClass(&wndClass))
{
cs.lpszClass = wndClass.lpszClassName;
}
return __super::PreCreateWindow(cs);
}