当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

 ·关于内存分配    »显示摘要«
    摘要: 一条语句pmsg = malloc (clinesmax * sizeof (msg)) ; 为什么在.cpp文件中编译不通过,错误提示:cannot convert from void * to struct tagmsg * 而在.c文件中能通过!这是什么原因啊!难道说c++的编译器还不如c的编译器吗? ......
 ·找能上“文学城”的代理    »显示摘要«
    摘要: help ......


怎样使用API获取无标题窗体的句柄

请教,怎样从外部把另一个应用的无标题栏的窗体放到最前端。

NO.1   作者: chinalht

Windows   API:  
  FindWindow()但是你必须要知道该窗口的classname  
  然后可以设置该窗口的扩展属性WS_EX_TOPMOST,使之在最前。  
  GetWindowLong()  
  SetWindowLong()  
 


    摘要: using system; using system.drawing; using system.collections; using system.componentmodel; using system.windows.forms; using system.data; using system.xml; using system.diagnostics; using system.i......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE