LRESULT CMyListCtrl::SetFont( )
{
LRESULT res = 1;//Default();
CRect rc;
GetWindowRect( &rc );
WINDOWPOS wp;
wp.hwnd = m_hWnd;
wp.cx = rc.Width();
wp.cy = rc.Height();
wp.flags = SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOOWNERZORDER | SWP_NOZORDER;
// SendMessage( WM_WINDOWPOSCHANGED, 0, (LPARAM)&wp );
return res;
}
以上是我的程序里的 设置字体的函数,可是改变不了listctrl 字体的大小,有那位高手可以帮助我呀!多谢了!