VCL Components
COMPONENT LIBRARY FOR PROGRAMMING LANUGAGES
  HOME  |   NEW  |   POPULAR  |   TOP RATED  |   AUTHORS  |   CONTACT US  |   LINK TO US  |   SUBMIT  |   SEARCH

Languages

 TPJWdwState & TPJRegWdwState 4.3.1

Version: 4.3.1 Freeware By: Peter Johnson Homepage
Downloads: 16   Hits: 258 Source: YES report broken broken link report
Sponsored Links:


Description of TPJWdwState & TPJRegWdwState :
The window state components can save and restore a window's size, positionand state (minimized, maximized or normal) between program executions. Twocomponents are provided that use different means of recording the window'sinformation. They are:TPJWdwState: This component records window information in an ini file. Theuser has control over the ini file name (via the IniFileName property) and thename of the section of the file where window information is recorded (using theSection property). Alternatively the ini and section names can be configuredby handling the OnGetIniData event that is triggered immediately before theini file is read or written.TPJRegWdwState: This component uses the registry to record windowinformation. The registry root key and sub key where the information is storedare controlled by the RootKey and SubKey properties, or by handling theOnGetRegData event. This event is triggered just before the registry isaccessed.Both components implement the same functionality, controlled by some commonproperties and events, as follows:The components can automatically restore and save windows when the programstarts up and closes down (using the AutoSaveRestore property). IfAutoSaveRestore is set to False then the Restore and Save methods must becalled from the host application.The OnReadWdwState event can be handled in order to change the storedwindow's state, size and position values before the window is restored. Thisevent is called after reading the data and before sizing the window.The Options property can be used to customise the way the window isrestored. State, and position can be ignored, which is useful for dialogboxes that should retain the same size and not be minimizied. The window can also be kept within the desktop's work area.When the form is to be restored in a minimized state it briefly appears onscreen in the normal state before being minimized. The MinimizeDelay propertycontrols the delay between the window appearing and being minimized.An abstract base class for both components l TPJCustomWdwState l is alsoprovided. This class provides the core window handling and sizing functionality.It provides abstract methods for accessing the required storage medium.Therefore it is quite straightforward to create further components that usealternative storage systems. All that needs to be provided are methods toread/write the window information along with any additional properties thatare required to configure the storage medium.A help file is included that integrates into the Delphi 3 to 7 OpenHelpsystem. The help does not integrate with Delphi 2005 and later, but can be usedindependently of the IDE, with some loss of functionality.A property editor is provided for editing HKEY values (such as the registryroot key property of TPJRegWdwState). This editor is also availableseparately.

Related: Cm_showingchanged, Component, Delphi, Download, Free, Freeware, Getwindowplacement, Hkey, Ini File, Maximize, Minimize, Registry, Restore Window, Setwindowplacement, Source Code, Window State, Windows Api, Wm_destroy
Package: Price:
Without source $0
Source included $0
Download DOWNLOAD NOW!
Info MORE INFO!

User Reviews:

Write Review *
Your name *
Email *
(Your comments will be reviewed by our staff before they are posted)
Rate this product *

 

Related:

 G32 Progress Bar 1.0

A simple progress bar component, which uses Graphics32 to render a smooth gradient. Properties are similar to that in standard TProgressBar. This...

Freeware By: Alex A. Denisov Homepage

 Tool Header 1.0

A simple customizeable window/form header for your applications:

Freeware By: Alex A. Denisov Homepage

 Delphi Vcl Skin 1.02

VCLSkin is an VCL library that extend Delphi application with skinnable user interface . It allows software developers to make their applications...

Shareware By: Pan wen

 Elegant MDI Interface 4.0

This component is a new elegant realiztion of the old MDI interface. All windows (MDIChild) will be presented as buttons on autohidden panel. User...

Freeware By: Sergey Zimin

 SUIPack 4 for Delphi 4.40

We released the version 4 of SUIPack.

Do you want to make your application have MacOS, WinXP or more professional-UI-designed themes or...


Freeware By: Shen Min

 HKEY Property Editor 1.0.3

This is a property editor for properties of type HKEY - the type is used for registry root keys.When a HKEY property is selected in the Delphi...

Freeware By: Peter Johnson Homepage

 Window State Components 4.3.1

The window state components can save and restore a window's size, position and state (minimized, maximized or normal) between program executions....

Freeware By: Peter Johnson Homepage

 TPJCBViewer 1.2

TPJCBView is a non-visual Delphi component which registers a hidden window as a clipboard viewer.This means that Windows notifies the component...

Freeware By: Peter Johnson Homepage

 Javascript Window System 0.6

Webmasters can create an effective virtual window environment, which allows the simulation of multiple browser windows within a single web page....

Freeware By: BiteSize, Inc Homepage

 TFMReg

TFMReg is a registry editor designed to make the small amount of time you spend working in the registry as painless as possible. It looks and...

Shareware By: Toby Allen

New Component

Popular Component

© Copyright 2000-2008 VCL Components All trademarks are the sole property of their respective owners.
Usage Policy - Privacy Policy - Link To Us - Software - Freeware
Contact: