1 Attachment(s)
How to fix Rect & DrawText?
I have an client game online use gdi32 to createfont. I need to change fontface and fix font size to bigger.
But when i change size to 14 or larger, word will be missed on the right.
Attachment 36057
Need a programer can work with ollydbg debug and hook dll, i can pay fee
Re: How to fix Rect & DrawText?
DrawText takes an argument which is the rectangle in which the text is to be drawn. You probably enlarged the font size without adjusting that rectangle. You can determine the width and height of the rectangle, using DT_CALCRECT flag. Fore more info see DrawText function.
If you are looking for a programmer, please post an announcement in Open Positions (Jobs) forum section.
Re: How to fix Rect & DrawText?
Quote:
Originally Posted by
ovidiucucu
DrawText takes an argument which is the rectangle in which the text is to be drawn. You probably enlarged the font size without adjusting that rectangle. You can determine the width and height of the rectangle, using
DT_CALCRECT flag. Fore more info see
DrawText function.
If you are looking for a programmer, please post an announcement in
Open Positions (Jobs) forum section.
Many thanks @ovidiucucu. I find same problem in post https://forums.codeguru.com/showthre...entPoint32-API
Who can hook dll or fix it by ollydbg, please pm me