正在加载图片...
VC++ Programming UESTC Chapter 3 Getting Started with App wizard Void CEx03aView: OnDraw(CDC* pDC i pDC->TextOut(o, 0, Hello, world! prints in default font, size, top left corner pDC->SelectStockObject(GRAY BRUSH) // selects a brush for the circle interior pDC->Ellipse( Crect(o, 20, 100, 120)) // draws a gray circle 100 units in diameterVC++ Programming @ UESTC 8 Void CEx03aView::OnDraw(CDC* pDC) { pDC->TextOut(0, 0, "Hello, world!"); // prints in default font, size, top left corner pDC->SelectStockObject(GRAY_BRUSH); // selects a brush for the circle interior pDC->Ellipse(CRect(0, 20, 100, 120)); // draws a gray circle 100 units in diameter } Chapter 3 Getting Started with AppWizard
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有