 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
r3xce How do I cheat?
Reputation: 0
Joined: 03 Jul 2015 Posts: 7 Location: 127
|
Posted: Fri Jul 17, 2015 11:45 am Post subject: Graphics Windows |
|
|
Hi,
I have a nearly complete project, but in the end had a problem.
I will explain, I used GDI and Canvas to write a text on top of other open application (using FindWindow to get the DC), but when I change the text in the same place, the texts are on top of another.
some solution or tip? (the other program uses OpenGL, but has protection hook, and one job would be simple become difficult, my goal is just writing).
Note: I've used UpdateWindow(), ReleaseDC() as methods to work around this, but it not worked. _________________
Eternal Apprentice |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Jul 17, 2015 8:48 pm Post subject: |
|
|
You need to invalidate the remote window to force it to refresh/redraw. _________________
- Retired. |
|
| Back to top |
|
 |
r3xce How do I cheat?
Reputation: 0
Joined: 03 Jul 2015 Posts: 7 Location: 127
|
Posted: Fri Jul 17, 2015 10:37 pm Post subject: |
|
|
Thanks atom0s, but my problem was the canvas object build order and free buffer, had already used the InvalidateRect() and had not worked (in the old code).
But those who have problem with the question above the atom0s refers is:
| Code: | BOOL RedrawWindow(
_In_ HWND hWnd,
_In_ const RECT *lprcUpdate,
_In_ HRGN hrgnUpdate,
_In_ UINT flags
);
|
_________________
Eternal Apprentice |
|
| 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
|
|