 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
ups2000ups I post too much
Reputation: 0
Joined: 31 Jul 2006 Posts: 2471
|
Posted: Sat Feb 23, 2008 1:01 pm Post subject: make form on top in a full screen game?delphi |
|
|
well i have checked google for a while but i dont know what i should search for
and i really dont know how i should say what i mean eighter ...
but i give it a try and hope some1 could help me
Notice fsStayOnTop wont work in a full screen game
okay lets start
if i open OdinMS.exe the program will popup in full screen
then i open my program and go back to Odin and i want to see my program on the same time i got odin open
(i want StayOnTop in a full screen game)
hope you understand and i hope some 1 know how to do it
or know what i should search for
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sat Feb 23, 2008 1:29 pm Post subject: |
|
|
For some games, SetWindowPos should do the trick, I'm not sure for Maple though, don't play it.
But use HWND_TOPMOST with SetWindowPos with the flags of SWP_NOMOVE Or SWP_NOSIZE
For example:
SetWindowPos(YOUR_WINDOW_HWND, HWND_TOPMOST, 0, 0, 0,0, SWP_NOMOVE|SWP_NOSIZE)
Another possible way, never tested this myself though, would be setting the parent window of your programs window to Maples hWnd so that Maple owns your window and then use SetWindowPos to pull it above Maple. You could also try setting it as a child and have it "render" inside of the Maple window like a Midi window.
_________________
- Retired. |
|
| Back to top |
|
 |
ups2000ups I post too much
Reputation: 0
Joined: 31 Jul 2006 Posts: 2471
|
Posted: Sat Feb 23, 2008 1:49 pm Post subject: |
|
|
| Wiccaan wrote: | For some games, SetWindowPos should do the trick, I'm not sure for Maple though, don't play it.
But use HWND_TOPMOST with SetWindowPos with the flags of SWP_NOMOVE Or SWP_NOSIZE
For example:
SetWindowPos(YOUR_WINDOW_HWND, HWND_TOPMOST, 0, 0, 0,0, SWP_NOMOVE|SWP_NOSIZE)
Another possible way, never tested this myself though, would be setting the parent window of your programs window to Maples hWnd so that Maple owns your window and then use SetWindowPos to pull it above Maple. You could also try setting it as a child and have it "render" inside of the Maple window like a Midi window. |
Thanks
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|