I wnat to have a group of 4 radiobuttons in one dialog box
When some of buttons are selected I want to disable or enable some edit boxes. I can't catch messages sent from radiobuttons.
All I need is a little help in the dialog's callback function...
BOOL CALLBACK DlgProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam)
{
switch(uMsg)
{
case WM_COMMAND:
switch(wParam)
{
case IDOK:
case IDCANCEL:
DestroyWindow(hwndDlg);
default:;
}
}
return 0;
}
If somebody can insert here the code that catches the message...
Please help!
P.S. Thank you in advance.