I have written a touch screen overlay program. It is essentially a full screen application with a transparent background, and buttons.
Here is the code I use to set the form to be transparent -
The problem is that the application that runs behind the form is noticeably slower than if the overlay were not running. It redraws slower, menus pull up slower etc
On fast machines (p4, 1gb RAM, gaming video card), it is not as noticeable. But, on an 800mhz, on-board video, 256 mb ram for eg, it is very bad.
Turning video acceleration off makes a big difference, but not enough.
Any others tips/tricks/better ways to do this?
Thanks!
Here is the code I use to set the form to be transparent -
Code:
Me.TransparencyKey = Color.FromArgb("-9999999")
Me.BackColor = Color.FromArgb("-9999999")
Me.TopMost = True
The problem is that the application that runs behind the form is noticeably slower than if the overlay were not running. It redraws slower, menus pull up slower etc
On fast machines (p4, 1gb RAM, gaming video card), it is not as noticeable. But, on an 800mhz, on-board video, 256 mb ram for eg, it is very bad.
Turning video acceleration off makes a big difference, but not enough.
Any others tips/tricks/better ways to do this?
Thanks!