CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Mon Oct 20, 2003 5:35 am Post subject: |
|
|
| Code: | LOADLIB USER32
%H = @strdel(@WINEXISTS(#TFORM),1,1)
if %H
%H = @lib(user32,SetWindowPos,bool:,%H,-2, 0, 0, 0, 0, 3)
goto EVLOOPI
else
ERROR -1
end
FREELIB USER32
end |
Try this - Obtain the Name or class name* of your game window using window spy of VDS. immediately after this make your window topmost.
http://forum.vdsworld.com/viewtopic.php?t=1683
Of course your game may be checking if it is topmost window under a timer. If this is the case then there is nothing much that could be done.
Let me know what happens.
*Use @WINATPOINT if the window has notitle and also has a class name shared by other game windows e.g a game contorl panel. You can safely assume that the window at the center of your screen is the game window if it's class name matches with the game window class name. _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|