资 源 简 介
CStatic文本的外观
首先在单击1行中调用CTestWindow::Create函数。它是CFrameWnd对象的Create函数,因为CTestWindow从CFrameWnd继承了其行为。所以第一行中的代码指定了窗口大小应该为200×200个象素,窗口的左上角被初始化在屏幕的0,0位置处。常数rectDefault可用CRect参数来替代。-CStatic text the appearance of the first line in one click call CTestWindow:: Create function. It is a CFrameWnd object Create function, because CTestWindow inherited from CFrameWnd their behavior. So the first line of code specifies the window size should be 200 × 200 pixel, the window has been initialized in the upper left corner of the screen position 0,0. CRect parameter rectDefault constants can be used as substitutes.