Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting and obtaining pixel data from forms and controls in C#

Status
Not open for further replies.

MatteoUK

Programmer
Feb 6, 2003
1
GB
I have spent some considerable time searching through the microsoft.NET msdn help files with this problem. I can't seem to find any method (apart from access API libraries) in c# language to obtain the colour of a pixel on a form/control, and setting it. During scrolling of a control, I would like to bitlbt (bit blitting) part of the control that stays visible, and invalidate only the newly exposed part of the control. The reason for this is to make scrolling more smooth and efficient.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top