Title is No Title

not very good here!

导航

上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页

2004年3月27日 #

add a property table dlg is simple.add a dig with var:CTabCtr's son:CTabSheet m_sheet,and 3 dialog son as pages;then ok.

摘要: 1:CTableSheet:#define MAXPAGE 100/////////////////////////////////////////////////////////////////////////////// CTabSheet window class CTabSheet : public CTabCtrl{// Constructionpublic: CTabSheet(); ... 阅读全文

posted @ 2004-03-27 11:02 abraham 阅读(1146) 评论(0) 推荐(0) 编辑

2004年3月26日 #

add scroolbar to dialog is easy,add flag in dialgon property , then 4 func are need to change or add.

摘要: before all,add some var in class.// Constructionpublic:int m_nCurHeight;int m_nCurWidth;int m_nScrollPos;int m_nScrollPos2;CRect m_rect;1:func:BOOL SecondTimeCheckDlg::OnInitDialog() { CDialog::OnInit... 阅读全文

posted @ 2004-03-26 13:46 abraham 阅读(1066) 评论(2) 推荐(0) 编辑

2004年3月22日 #

but when call at some dlg,only no echo,but after add a Invalidate() ,it will be ok very strange.

摘要: void CAboutDlg::OnTestDraw() { Invalidate(); CPaintDC dc(this); CPen MyNewPen; COLORREF mm_color=RGB(233,44,55);//dlg.m_color; MyNewPen.CreatePen(PS_SOLID,10,mm_color);//RGB(255,0,... 阅读全文

posted @ 2004-03-22 20:33 abraham 阅读(518) 评论(0) 推荐(0) 编辑

draw on dlg is simple only add some code in func proc. is ok.

摘要: void TestDrawDlg::OnOK() { Invalidate(); // TODO: Add extra validation here //Invalidate(); //CDialog::OnOK(); CPaintDC dc(this); CPen MyNewPen; COLORREF mm_color=RGB(233,4,5);//dlg.m_color... 阅读全文

posted @ 2004-03-22 20:29 abraham 阅读(650) 评论(0) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页