Solar_OS API Reference

You are here: Main -> Draw API ->


PROC API_Text_Draw_Wrap STDCALL
	USES	ebx,ecx,edx,esi,edi
	ARG	wnd_handle
	ARG	x_msg,y_msg,string_ptr
	ARG	color


This function will draw a a text message (string) at a given position inside a window. Coordinates are relative to window. Word wrapping is performed.

Arguments:

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
string_ptr dword pointer to null terminated string to print
color dword color of string to draw. Format is: xx_RR_GG_BB hexadecimal

Returns:

Posible Errors:

Remarks:

See Also