i have 1 problem with window procedure(i belive), the child controls have the BS_NOTIFY style, but the click or others(from BS_NOTIFY style) aren't working.. why?
//in button window procedure:
case WM_COMMAND:
{
switch(HIWORD(wParam))
{
case BN_CLICKED:
{
inst->MouseClick();
MessageBox(NULL,"hi","hello",MB_OK);
}
break;
}
break;
}
break;
//in form window procedure:
case WM_COMMAND:
{
return DefWindowProc(HandleWindow, WM_COMMAND, wParam, lParam);
}
break;
what i'm doing wrong?