DirectX newbie --> Simple: How to insert text into picturebox with directx?

joshuaand

Well-known member
Joined
Sep 2, 2003
Messages
45
Location
Australia
Hi,

Ok what I have is a picturebox that is being updated 25 times a second with basically milliseconds, set in a picturebox to get custom font, with anti aliased text.

Problem is that it flickers quite a lot, so I assumed that I can fix this with DirectX? YES? NO?

So I cant seem to find a simple example of how to set a pictureBox with some text, using directX to stop the flickering?

Any help is greatly appreciated!!!

Thankyou
Joshua
 
dont think direct x is the answer to your question. At the very least I think you have to change your picture box to some sort of direct x surface. I would look into GDI+ if I were you and perhaps look at how some of the usercontrols that are being made are updating their graphical representation.

Also I suspect the source of information you use to write to your picture box is not being updated every .04s so perhaps you would want to do that through events.

I would look into overloading the paintmethod for your control too.

/Rosecroix
 
Back
Top