1个回答
展开全部
可以重画标题兰,使用函数
CRect rtWnd, rtTitle;
GetWindowRect(&rtWnd);
//取得标题栏的位置
rtTitle.left = GetSystemMetrics(SM_CXFRAME);
rtTitle.top = GetSystemMetrics(SM_CYFRAME);
rtTitle.right = rtWnd.right - rtWnd.left - GetSystemMetrics(SM_CXFRAME);
rtTitle.bottom = rtTitle.top + GetSystemMetrics(SM_CYSIZE);//+100);
pDC->BitBlt(rtTitle.left, rtTitle.top, rtTitle.Width(), rtTitle.Height()+你需要的高度, pDisplayMemDC, 0, 0, SRCCOPY);
CRect rtWnd, rtTitle;
GetWindowRect(&rtWnd);
//取得标题栏的位置
rtTitle.left = GetSystemMetrics(SM_CXFRAME);
rtTitle.top = GetSystemMetrics(SM_CYFRAME);
rtTitle.right = rtWnd.right - rtWnd.left - GetSystemMetrics(SM_CXFRAME);
rtTitle.bottom = rtTitle.top + GetSystemMetrics(SM_CYSIZE);//+100);
pDC->BitBlt(rtTitle.left, rtTitle.top, rtTitle.Width(), rtTitle.Height()+你需要的高度, pDisplayMemDC, 0, 0, SRCCOPY);
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询