![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
软件开发
woshi951
表面风光,内心彷徨;容颜未老,心已沧桑;似乎有才,实为江郎;成就难有,郁闷经常;比骡子累,比蚂蚁忙 ,比鸡起的早,比狗睡的晚;比驴干的多,比猪吃的差;比岳飞忠良,比赖昌星紧张的老中青年
展开
-
图像适应视图
CRect rect; GetClientRect(rect); image->Draw(pDC->GetSafeHdc(), // CRect(0,0,(int)(image->GetWidth()*viewZoom),(int)(image->GetHeight()*viewZoom)), rect, false);原创 2008-06-06 11:56:00 · 265 阅读 · 0 评论 -
让窗口第一次显示就最大化
CCommandLineInfo cmdInfo; ParseCommandLine(cmdInfo); // Dispatch commands specified on the command line //在ParseCommandLine之后,ProcessShellCommand之前,添加这句!!!原创 2008-06-05 15:32:00 · 379 阅读 · 0 评论 -
修改toolbar
BOOL CMainFrame::CreateExToolBar(){CImageList img;CString str;if(!m_wndReBar.Create(this)){ return -1;}if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP | CBRS_TOOLTIPS原创 2008-06-05 15:40:00 · 428 阅读 · 0 评论