正在加载图片...
le Register1ass:向系统注册一个窗口类,以备后面创建该窗口类的 窗口,其函数原型为: 海疗 ATOM RegisterClass(CONST WNDCLASS *lpWndclass) 该函数调用成功,返回非0值,否则返回0 Ie CreateWindow:创建窗口,该函数的原型为: HWND CreateWindow( Windows程序的基本结构 LPCTSTR lpClassName, / registered class name 小结 LPCTSTR lpWindowName, / window name DWORD dwstyle // window style int x // horizontal position of window 访问主页 int y, // vertical position of window 标题页 int nwidth, / window width int nHeight window height HWND hWndparent handle to parent or owner window hmeNu hMenu / menu handle or child identifier HINSTANCE hInstance, / handle to application instance 第8页共13页 LPVOID IpParam // window-creation data 全屏显示 ShowWindow:以指定的方式显示创建的窗口 关闭 UpdateWindow:刷新窗口的客户区Windows§SÄ( ( ¯ Ì  I K  JJ II J I 1 8   13  ˆ £  ¶ w « ' 4 ò Ñ ✑ RegisterClassµ•XÚ5þ‡Ia§±￾¡MïTIa I,Ù¼ê.µ ATOM RegisterClass(CONST WNDCLASS *lpWndClass); T¼êN^¤õ§ˆ£š0Š§ÄKˆ£0 ✑ CreateWindowµMïI§T¼ê.µ HWND CreateWindow( LPCTSTR lpClassName, // registered class name LPCTSTR lpWindowName, // window name DWORD dwStyle, // window style int x, // horizontal position of window int y, // vertical position of window int nWidth, // window width int nHeight, // window height HWND hWndParent, // handle to parent or owner window HMENU hMenu, // menu handle or child identifier HINSTANCE hInstance, // handle to application instance LPVOID lpParam // window-creation data ); ✑ ShowWindowµ±½ªw«MïI ✑ UpdateWindowµM#Ir«
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有