View Single Post
  #1 (permalink)  
Old 04-13-2008, 02:56 AM
Bernd Oleschinski
 
Posts: n/a
Diggs:
Default Display text on defined Positions inCalculation Icon with Winapi.u32

Hi

I want to display text on calculated Position in the window. I use an
XML-File to store the Position of the text.

Now I try to display the text with the winapi.u32 under Win XP. For some
reason I don't get the text displayed.

My code is:
-------------------------------
myHandle := GetDC(WindowHandle)

error := TextOut(myHandle; X; Y; "Hallo World"; 11)

ReleaseDC(WindowHandle; myHandle)
---------------------------------

No Text appears on the screen.

Somebody can help??


Thanks


Reply With Quote
Sponsored Links