|
发表于 2020-6-28 15:45:02
|
显示全部楼层
C++ SDK 我学的时候看到了,对我没用,被我注掉了
对楼主有用
/*//标题
hLVHeader = FindWindowEx(hLV_Live, 0,"SysHeader32","");
//if (hLVHeader != NULL)
//MessageBox(hWnd,"dkskfk","dkdk", MB_OK);
hHeaderDC = GetDC(hLVHeader);
//GetWindowRect(hLVHeader, &rt);
SendMessage(hLVHeader, HDM_GETITEMRECT, 1, (LPARAM)&rt);
FillRect(hHeaderDC, &rt,CreateSolidBrush(RGB(0,255,255)));
TextOut(hHeaderDC,rt.left + (rt.right - rt.left)/2 ,0 ,TEXT("说 明:"),7);
ReleaseDC(hWnd, hHeaderDC);*/ |
|