.NET
•  Greatis •  Security •  AppDatabase •  Utilities •  Delphi/CB • Visual Basic •  just4fun
.NET Software
.NET Components for Visual Studio .NET, Delphi 8, Delphi 2005 and Delphi 2006
See also
Related products
Nostalgia .NET new!
Print Suite .Net
Form Designer .Net
Gradient Controls .Net
iGrid Plotter
Convay's Life .Net

Related links
MegaDetailed.NET
Win32.hlp online version
Delphi Tips
Delphi to C#
just4fun

Special
Free Software Promotion
Offers for Resellers

Follow us
LinkedIn Blogspot Twitter Facebook

Share this page
Home Documentation License Download Order Support  
Nostalgia .NET - Window Information
Find any window and any control on the system, analyze and change it

Window Information set contains two parts: SystemWindow class and WindowInformation component itself.

SystemWindow class implements convenient interface to system window, represented by window handle. SystemWindow class has tens properties that replace tens WinAPI calls and sending messages. Using SystemWindow you can get ans set any property of any window and control in your system. When you have window handle, just create SystemWindow class for this handle and edit this window with easy. For instance the following example makes some window stay-on-top:

  SystemWindow sw = new SystemWindow(YourWindowHandle);
  sw.StayOnTop = true;
That's all!

So, if we know handle, we can get and change tens paremeter of each window and control, including text, style, size, position and much more... OK, but how we can get the handle of window? Good question. And we have an answer - WindowInformation. This component allows to search any window and control in the system. All the found windows collected in Windows list. You can filter windows list when SearchWindows call as well as in WindowAdding event that occurs for each found window. The following example finds all the Notepad windows and change the caption of each found window:

  windowInformation1.SearchWindows(WindowKind.Window, "Notepad", null, true);
  foreach (SystemWindow sw in windowInformation1.Windows)
    sw.Text = sw.Text + " - Modified by SystemWindow";
Try to do the same with direct Win32 calls and feel the difference.

Demo project shows all the Window Information' features (clickable):


Window Information Demo


Evaluate Nostalgia .Net with free trial and order right now!

Must-have .Net Products
Nostalgia .Net Nostalgia .Net
Power of Win32 API in convenient .Net classes and components. The easiest way to expand your possibilities without Win32 skill. Full source codes incliuded. More »


Print Suite .Net Print Suite .Net
Set of components for easy printing texts, images and grids from your WinForms applications. Also Greatis Print Suite .Net offers the advanced DocumentDesigner component that allows creating complex print jobs from simple separated print content providers. More »


Greatis Software Greatis | Security | AppDatabase | Utilities | Delphi/CB | Visual Basic | .NET | just4fun

Contacts | Add to Favorites | Recommend to a Friend | Privacy Policy | Copyright © 1998-2012 Greatis Software

eXTReMe Tracker