GetWindowLong 与 SetWindowLong 详解
来源:互联网 发布:网络营销策划gzfq 编辑:程序博客网 时间:2024/05/22 13:37
函数原型:
LONG GetWindowLong(
HWND hWnd, // 指定窗体句柄
int nIndex // 需要获取的信息类型
);
HWND hWnd, // 指定窗体句柄
int nIndex // 需要获取的信息类型
);
功能: 该函数获取指定窗体的信息
nIndex值的描述:
GWL_EXSTYLE
Retrieves the extended window styles.
// 获取扩展的风格
GWL_STYLERetrieves the window styles.
// 获取windows风格
GWL_WNDPROCRetrieves the address of the window procedure, or a handle representing the address of the window procedure. You must use theCallWindowProc function to call the window procedure.
// 得到窗口回调函数的地址,或者句柄。得到后必须使用CallWindowProc函数来调用
GWL_IDRetrieves the window identifier.
// 应用程序运行实例的句柄
GWL_USERDATARetrieves the 32-bit value associated with the window. Each window has a corresponding 32-bit value intended for use by the application that created the window.
// 和窗口相关联的32位的值(每一个窗口都有一个有意留给创建窗口的应用程序是用的32位的值)
函数原型:
LONG SetWindowLong(
HWND hWnd,
int nIndex,
LONG dwNewLong
); //具体情况请看msdn。
- GetWindowLong 与 SetWindowLong 详解
- GetWindowLong SetWindowLong 详解
- GetWindowLong与SetWindowLong
- GetWindowLong与SetWindowLong
- SetWindowLong GetWindowLong
- GetWindowLong,SetWindowLong,CallWindowProc
- SetWindowLong And GetWindowLong
- SetWindowLong函数 GetWindowLong函数
- SetWindowLong GetWindowLong SetClassLong GetClassLong
- GetWindow,GetWindowLong,SetWindowLong
- GetWindowLong() 和 SetWindowLong()
- C++ SetWindowLong/GetWindowLong/SetWindowPos
- GetWindowLong 和 SetWindowLong函数
- GetWindowLong() 和 SetWindowLong()
- GetClassLong()、SetClassLong()、SetWindowLong()、GetWindowLong()
- VC 修改窗口属性 GetWindowLong SetWindowLong
- VC修改窗口属性 GetWindowLong(), SetWindowLong()
- VC修改窗口属性 GetWindowLong(), SetWindowLong()
- 你一念之差,我动情一场:伤感日志
- 传智播客---cookie与session的介绍和使用
- 修炼一名程序员的职业水准
- 酷壳陈皓:如何学好C语言
- log4j与log4j.properties的配置说明
- GetWindowLong 与 SetWindowLong 详解
- C/C++打印带颜色的调试信息
- 沫沫提供伤感QQ日志_如今你我相见,却行似陌路人
- 关于 nsstring 包含,插入问题
- JVM加载class文件的原理
- Deploying OpenStack-第二章 理解Swift
- Openstack命令收集
- python webservice hello world
- poj 2965.The Pilots Brothers' refrigerator