opiumhautopium1 Posted February 11, 2012 Share Posted February 11, 2012 i got a problem to change between 2 http sides (main and seacard by seafight) i dont know how to example identify http page onlinespiele set on top.... and activate onlinespiele do something until event is happen minimize onlinespiele then identify http page seafight.bigpoint set on top seafight.bigpoint and aktivate do someething until event is happen minimize seafight.bigpoint.com and so on ... i know to find the sides with FindWindowTitlePart but i dont know to minimize and return it to big (under win7) to do the right things with the right side ^^ thx in advance mfg Quote Link to comment Share on other sites More sharing options...
Neron Posted February 11, 2012 Share Posted February 11, 2012 [scar] var a,b : integer; procedure findWindows; // finds windows begin if FindWindowTitlePart('partname1',false) = false then writeln('not found...'); a := GetClientWindowHandle; FindWindowTitlePart('partname2',false) = false then writeln('not found...'); b := GetClientWindowHandle; end; procedure show_a; begin SetClientWindowHandle(a); ActivateClient; end; procedure show_b; begin SetClientWindowHandle(b); ActivateClient; end; [/scar] But windows musn't be minimized! I dont know how to minimize - maximize windows Quote Link to comment Share on other sites More sharing options...
opiumhautopium1 Posted February 11, 2012 Author Share Posted February 11, 2012 jep that s the way i go thx a lot ^^ Quote Link to comment Share on other sites More sharing options...