Hi Biterider!
Fantastic Pixelmap :t
In DrawStr there is a not working pushing nightmare. That must be: invoke DrawTextEx, hTempDC, pText, -1, addr TextRect, dRenderFlags, NULL
;Release resources
push hTempDC
call SelectObject ;Unselect hTempDIBSect
push hTempDC
call SelectObject ;Unselect hFont
push hTempDC
call DeleteDC ;Delete hTempDC
and in same method: invoke DeleteObject, hTempDIBSect ;Delete hTempDIBSect
MethodEnd
Regards.