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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.