HWND FindWindow(    LPCTSTR lpClassName, // pointer to class name
    LPCTSTR lpWindowName  // pointer to window name
   );
 ParameterslpClassNamePoints to a null-terminated string that specifies the class name or is an atom that identifies the class-name string. If this parameter is an atom, it must be a global atom created by a previous call to the GlobalAddAtom function. The atom, a 16-bit value, must be placed in the low-order word of lpClassName; the high-order word must be zero. lpWindowNamePoints to a null-terminated string that specifies the window name (the window's title). If this parameter is NULL, all window names match.  Return ValuesIf the function succeeds, the return value is the handle to the window that has the specified class name and window name.
If the function fails, the return value is NULL. To get extended error information, call GetLastError. 

解决方案 »

  1.   

    var
      h: THandle;
    begin
      h := FindWindow('TAboutForm', '关于');
      if h <> 0 then
       ShowWindow(h, SW_Show);
    end;
      

  2.   

    呵呵
    你难道不会自己看delphi的帮助吗?奇怪
      

  3.   

    呵呵
    上面有一位兄弟把delphi的帮助都扛来了,我要的是实例!
      

  4.   

    在use中加上:
       ShellApi再按 taxi 说的做,其中“TAboutForm” 为窗口类名,“关于”为窗口名(即Caption)
    如果 h 不为 0, 说明找到这个窗口,然后把它显示出来(ShowWindow)。说得很清楚吧:)请看这里:
    http://www.csdn.net/expert/topic/340/340502.shtm里面的这个程序用到了这个API。