Hour 9

   

1:

What is the primary class for GDI+?

A1:

Graphics.

2:

Does GDI+ have a SelectObject() function equivalent? If it does, what is it?

A2:

No.

3:

What unique feature does GDI+ provide alpha blending that the AlphaBlend() function in GDI doesn't provide?

A3:

It provides transparent colors for creating brushes and pens. The AlphaBlend() function only paints a bitmap to where it appears transparent.

4:

How do you keep a Windows Form from painting its background?

A4:

Override the OnPaintBackground() method and do nothing in the new implementation.


   
Top


Sams Teach Yourself Visual C++. NET in 24 Hours
Sams Teach Yourself Visual C++.NET in 24 Hours
ISBN: 0672323230
EAN: 2147483647
Year: 2002
Pages: 237

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net