大哥,请问用什么API函数可以在对话框中直接创建控件,应包含什么头文件。。
或者是通过什么途径在对话框中创建控件????
谢谢大哥们!!!
或者是通过什么途径在对话框中创建控件????
谢谢大哥们!!!
解决方案 »
- 关于SendMessage的问题
- AT指令访问手机通讯录
- 一个关于在Web页面中响应ActiveX中的事件的问题,在线等
- 字符串截取怎么做呢???
- 关于dll的问题!帮忙解决一下。
- windows2000/xp如何编程得知当前有哪些终端服务用户连接到我的服务器.
- 如何在一个后来加入的cpp文件中程序的主对话框句柄?高分相送!
- 有谁知道怎样把数据直接用柱状图的形式输出到EXCEL中去!
- bmp却打不开,我用十六进制工具打开后发现 它的前面 标识 是以ci开头?
- 这里发一个自己写的小软件(关机助手2014)
- 谁有《精通Visual C++图像编程》书中的源码?谢谢,昨天没赶上:(
- 关于VC下的数据类型转化
The CreateWindowEx function creates an overlapped, pop-up, or child window with an extended window style; otherwise, this function is identical to the CreateWindow function. For more information about creating a window and for full descriptions of the other parameters of CreateWindowEx, see CreateWindow. HWND CreateWindowEx(
DWORD dwExStyle, // extended window style
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
);
Header: Declared in Winuser.h; include Windows.h.
Library: Use User32.lib.