|
-
Jul 3rd, 2008, 07:02 PM
#1
Thread Starter
Lively Member
[2005] Prevent control.paint from flickering
Well as the title says,
I am creating an app for a touchscreen wich is always 1024x786(well not like that is important but ok). I wanted a fancy looking interface so I decided to paint every button and control myself.
To make it full screen I just used a maximized form with no borderstyle(and the esc button to exit). By using the graphics from the paint event I paint my buttons and such things. Now I made a simulation of the numpad and when I press the buttons the form paints them as a string on the screen.
This all works fine except for the fact that I cant actualy see the form repaint when I call form.refresh(). Ofcourse I dont want to repaint the whole form but only that part where I have to repaint my changed text, are there ways to solve this or should I rewrite my program with DirectX/DirextDraw?
Greets
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|