#pragma comment( linker, "/manifestdependency:\"type='win32' \ name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \ processorArchitecture='*' publicKeyToken='6595b64144ccf1df' \ language='*'\"")
HFONT hf = (HFONT)SendMessage(hwndDateTimePicker, WM_GETFONT, (WPARAM)0, (LPARAM)0); if (hf != NULL) { LOGFONT lf = { 0 }; GetObject(hf, sizeof(LOGFONT), &lf); lf.lfWeight = FW_BOLD; lf.lfUnderline = TRUE; hf = CreateFontIndirect(&lf); SendMessage(GetDlgItem(hDlg, IDC_DATETIMEPICKER1), WM_SETFONT (WPARAM)hf, (LPARAM)TRUE); }
GetDC
SetTextColor
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)