Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
508 B

#include "windows.h"
UINT GetRadioStatus(HWND hDlg, UINT uiId)
{
return SendMessage(GetDlgItem(hDlg,uiId),
BM_GETCHECK,
(WPARAM) 0,
(LPARAM) 0
);
}
UINT SetRadioStatus(HWND hDlg, UINT uiId, UINT uiStatus)
{
return SendMessage(GetDlgItem(hDlg,uiId),
BM_SETCHECK,
(WPARAM) uiStatus,
(LPARAM) 0
);
}