Windows窗口类

Posted on 2010-08-20 09:42 傅先生 阅读(118) 评论(0)  编辑 收藏 引用
``
 
 char s_Buf[256];
 HWND hWnd = ::GetForegroundWindow();//GetActiveWindow(); //'得到活动窗口的句柄 
 ::GetWindowText(hWnd,s_Buf,255);
 AfxMessageBox(s_Buf);

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理


posts - 54, comments - 5, trackbacks - 0, articles - 2

Copyright © 傅先生