参数原形
HWND CreateWindow(
LPCTSTR lpClassName, // pointer to registered class name
LPCTSTR lpWindowName, // pointer to 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, // handle to menu or child-window identifier
HANDLE hInstance, // handle to application instance
LPVOID lpParam // pointer to window-creation data
);
=================================================================
MSDN上参数原形确实是11个
=================================================================
但朋友我在VC 6.0环境下 当我写完参数名后打上"("竟然发现只有10个参数
不相信的朋友可以试试,我想问问 怎么才会出现这种情况的?
HWND CreateWindow(
LPCTSTR lpClassName, // pointer to registered class name
LPCTSTR lpWindowName, // pointer to 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, // handle to menu or child-window identifier
HANDLE hInstance, // handle to application instance
LPVOID lpParam // pointer to window-creation data
);
=================================================================
MSDN上参数原形确实是11个
=================================================================
但朋友我在VC 6.0环境下 当我写完参数名后打上"("竟然发现只有10个参数
不相信的朋友可以试试,我想问问 怎么才会出现这种情况的?
解决方案 »
- win32消息问题
- J2K图像有什么库处理比较好
- !!! 2个小问题: 请问 只读 属性的 EDIT这样改变字体!!!!急急!!!!!!!!!
- 【版务贴】关于删除某些回复的通知
- 请问用DES加密后的字符串可能有&符号吗?
- vc+ado 对access数据库进行查询,可能会有几十万条记录,多少次查询会比较合适?10万次查询会有问题吗?
- 关于Packet32.dll(超难) 请用过Packet32.dll的朋友进来讨论一下
- 什么工具可以查看dll中的所有接口??谢谢!
- 对不起,我哭了
- CTreeCtrl 控件当前选中节点的深度?
- 如何用双缓存实现粘贴位图后刷新全屏而不出现闪烁
- 用select管理套接字的状态,套接字可读的时候如何判断该SOCKET是可以接收数据,还是SOCKET关闭?
顺便问一下
倒数第二个参数
hlnstance:与窗口相关联的模块事例的句柄。
是干吗用的 怎么理解呀