ウィンドウハンドルの取得

VB6の場合はAPIのみ


Private Declare Function FindWindow Lib "user32" _
  Alias "FindWindowA" (ByVal lpClassName As String, _
  ByVal lpWindowName As String) As Long

ウィンドハンドルでその画面を全面に


Private Declare Function SetForegroundWindow Lib "user32.dll" (ByVal hWnd As Long) As Long

・SetForegroundWindow でアクティブにならない場合には?
http://hpcgi1.nifty.com/MADIA/VBBBS2/wwwlng.cgi?print+200402/04020031.txt