Interacting with Windows

Table 13.6 itemizes the properties and methods available on each Window object.

Table 13.6 Window Object Members

image

image

Beyond the basics (such as using the Height and Width properties to query or affect a window’s dimensions, or setting focus to the window with the SetFocus method), a few properties deserve special mention:

• The Document property gives you a way to programmatically interact with the document that the window is hosting (if any).

• The Project and ProjectItem properties serve to bridge the Window portion of the ...

Get Microsoft® Visual Studio® 2010 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.