谢谢
解决方案 »
- 求解?
- 关于listctrl网络线颜色问题
- VC雕虫小技集(七)
- 在VC2003环境下,webbrowser中如何通过编程设置HTTP代理?
- 急问大虾:VC中生成可执行程序后,为什么双击程序程序会一闪而过,而在编译器中点击运行则不会,谢谢!!!
- 求 <<Visual C++ Windows Shell Programming>>
- 救命了。ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CVaasDoc)));程序执行到这报错
- IContextMenu接口的实现过程中如何获得关于目录文件等信息呢?需要那个接口?
- 为什么bc5.02下面编译的dll,vc中不能隐式调用?vc编译报lib文件错??
- 请教:PDF格式的文件能编辑吗?
- 关于窗口的最大化和最小化问题。
- 如何操作父窗口?
The GetClassName function retrieves the name of the class to which the specified window belongs. int GetClassName(
HWND hWnd, // handle to window
LPTSTR lpClassName, // class name
int nMaxCount // size of class name buffer
);
Parameters
hWnd
[in] Handle to the window and, indirectly, the class to which the window belongs.
lpClassName
[out] Pointer to the buffer that is to receive the class name string.
nMaxCount
[in] Specifies the length, in TCHARs, of the buffer pointed to by the lpClassName parameter. The class name string is truncated if it is longer than the buffer.
Return Values
If the function succeeds, the return value is the number of TCHARs copied to the specified buffer.If the function fails, the return value is zero. To get extended error information, call GetLastError.