X
xgbing
Unregistered / Unconfirmed
GUEST, unregistred user!
hMutex=CreateMutex(NULL,False,"ss"<br> if(GetLastError()==ERROR_ALREADY_EXISTS)<br> {<br><br> h=FindWindow("TForm1","ss"<br> <br> ShowWindow(h,SW_SHOWNORMAL);<br> SetForegroundWindow(h);<br><br> <br><br> return 0;<br><br> }<br><br><br>第二次运行程序,找到并显示了窗体,但点击最小化却不能最小化了!