Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to use Microsoft.Ink library on XNA. Previously I used ink library on winforms application and drawing on the form screen is very easy and it looks pretty good. However, when I do the same thing on the XNA screen, the ink shows up for a 1 sec then it disappears or sometimes, it shows up but flashes. Is there a solution for that? Thanks for your help.

share|improve this question
It might be easier to help if you show the code here. – Miau May 4 '12 at 22:08

well, it has to do with the way xna works vs win forms. In xna, the screen is updated every refresh, which is by default 1/60 sec. However, win forms are only updated when they're invalidated (something changes). What I would suggest you do is draw the ink to some kind of texture and just render that every frame to the XNA window. However, I would also suggest just using the XNA framework to draw anything anyway

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.