Hour 23

   

1:

Can you insert an ActiveX control into your control project, and if so, what method is used to perform this layer of communication between the two controls?

A1:

Yes, you can. The method involved is COM Interop.

2:

You used a PaintHandler delegate to paint your control. What is another method you could have used to draw your control?

A2:

You can override the OnPaint method provided by the base class.

3:

How would you allow a user to both select a property value from a list and also have the ability to manually type in a value within the Property Browser?

A3:

Return False from the GetStandardValuesExclusive function.


   
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