用API?
用p_pMainWnd?
还是什么函数?
用p_pMainWnd?
还是什么函数?
解决方案 »
- create一个CTreeCtrl,怎么样可以修改它的背景颜色呢?帮帮忙吧
- VC中如何在视图区中一行一行的显示信息?
- 请教CBitmap类的问题
- 谁能将EastDraw转换成OCX?然后改改加个输入输出接口,大家就可以方便用它来做电子白板了
- 控件怎样随窗口大小而改变,给出源码
- 重新提问:不显示窗口,在最顶层显示一行文字,而不被其他窗口覆盖
- 3急急!!!!请问如何象金山词霸那样使程序朗读发声,好象windows中有一个发声库不知如何凋用???
- VC++的集成环境较好,那在vc下建一个C++程序怎么做?(包含.h和.cpp)
- 高手大虾们请进,不是的走开
- 有大哥详细解释消息映射的机制及AppWizard给我们添加的代码吗?
- 简单问题,一时不解,给个提示
- richedit的滚动老过头?
Parameters
This function has no parameters. Return Values
The return value is the handle to the active window associated with the calling thread's message queue. Otherwise, the return value is NULL.
Parameters
This function has no parameters. Return Values
The return value is the handle to the active window associated with the calling thread's message queue. Otherwise, the return value is NULL.
HWND hwnd;
::GetCursorPos(&pt);
hwnd = ::WindowFromPoint(pt);