var
hform:hwnd;
begin
hform:=findwindow(nil,'系统帮助');
if (hform=0) then
ShellExecute(0, 'Open', pchar('系统帮助.chm'), nil, nil, SW_SHOWNORMAl);
else
//把 系统帮助.chm‘ 放最前面。
请问如何把系'统帮助.chm' 放最前面。
解决方案 »
- TCP包是一个包含动态数组的的记录结构,这种数据包怎么发送呀!
- 如何取出 twebbrower 中excel对象的内容。
- 为什么连接数据库的时候老是提示:"password required"??
- 100分跪求DEPHI(前台)+SQLSERVER(后台)的财务管理系统(源代码)或相关资料
- 如何在TOlecontainer中嵌套word时候不要出现word的菜单??
- 问一下 我该怎么改下面
- delphi7中listview 控件美化问题
- 新手,正在学习中的一个小问题!在线等!
- 波特率是个啥子东西来,谁能给俺讲一下?
- 怎么将形如'aaa,ccasdf,123,uuu'的STRING类型直接转换成array of string类型?
- 数组的问题
- 如何往TfileStream 里写入和读取一个整数
if IsIconic(hform) then
ShowWindow(hform, SW_RESTORE);
SetForegroundWindow(hform);
SetWindowPos(hform, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE or SWP_NOSIZE);
SetWindowPos(hWnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE or SWP_NOSIZE);
if SetWindowPos(hform,HWND_TOPMOST,0,0,0,0,SWP_NOMOVE or SWP_NOSIZE) then
SetWindowPos(hform,HWND_NOTOPMOST,0,0,0,0,SWP_NOMOVE or SWP_NOSIZE);
SetWindowPos(hform,HWND_NOTOPMOST,0,0,0,0,SWP_NOMOVE or SWP_NOSIZE);