You are here: Main -> Draw API ->
PROC API_Text_Draw_Prop STDCALL USES ebx,ecx,edx,esi,edi ARG wnd_handle ARG msg_x,msg_y,msg_dx,msg_dy ARG string_ptr
This function will draw a a text message (string) at a given position inside a window. Coordinates are relative to window. The font used is proportional 39 pixels height.
| Argument | Type | Description |
|---|---|---|
| wnd_handle | dword | target window handle |
| msg_x | dword | message X position in window |
| msg_y | dword | message Y position in window |
| msg_dx | dword | message DX (width) |
| msg_dy | dword | message DY (height) |
| string_ptr | dword | pointer to null terminated string to print |
| color | dword | color of string to draw. Format is: xx_RR_GG_BB hexadecimal |