废话不多说
直接代码贴上
case WM_INITDIALOG:
{
HWND hBn = GetDlgItem(hWnd, IDB_RES);
SetWindowLong(hBn, GWL_STYLE, GetWindowLong(hBn, GWL_STYLE) | BS_OWNERDRAW);
废话不多说
直接代码贴上
case WM_INITDIALOG:
{
HWND hBn = GetDlgItem(hWnd, IDB_RES);
SetWindowLong(hBn, GWL_STYLE, GetWindowLong(hBn, GWL_STYLE) | BS_OWNERDRAW);