Source Code Online Home Categories Top Code New Code Submit Code
Search
Subject Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Visual Basic & VB.NET
 XML
New Code
Groupon clone 1.1
AllWebMenus Pro 5.3.892
Easy Query Builder 2.0
Odin Secure FTP Expert 7.7.3
jQuery Accordion Gallery 1.0
PCL to TIFF Converter Shell for Mac 2.0
Fax Server Plus 5.3.0522
Fax Server Pro 5.6.0522
Advanced RSS2Web Professional 3.11.104
Group Mail Manager Premier 2.32.36
RSS Content Generator Premier 3.11.86
Get Remote IP Address in PHP 1.0.0
Elite News Pro2 PHP RSS Reader 2.0
RTF-to-HTML DLL COM, Win32 1.0
Java Download Manager 1.0
Top Code
Pinboarding Pro 2.0
Free Inventory System Source Code 1.0.75
Free Php Scripts And Source Code
Point of Sale Software 1.0
Easy Query Builder 2.0
Java Download Manager 1.0
Ticket Booking System 1.0
Elite News Pro2 PHP RSS Reader 2.0
Internet Cafe Monitoring Source Code v1.0
Advanced RSS2Web Professional 3.11.104
RSS Content Generator Premier 3.11.86
Billing System 1.0.1
i-Net Online Bus,Train,Flight Booking Script 1.6.3
PRE Business Management System 2.V
JavaCommerce
Top Rated
ICPennyBid - Penny auction software 3.9
Elite News Pro2 PHP RSS Reader 2.0
ASP.NET Event Calendar in MVC3 Razor 1.0
ICHolidayLettings - Holiday Lettings Site Script 1.2
WebTreeView 1.0
BP-T-Shirt - Custom T-Shirt WebStore Script 1.0
CloudOsys File Upload 2.4b2
X360 Multi-page Tiff Viewer ActiveX OCX 2.69
Metadraw3-OCX
AceDRM 1.0
MetaTags For Websites, Documents & Articles
idCGIRunner 1.5
a-Mac Address Change
TmdMailSlot, TmdWinPopup & TmdSecureMail 1.14
WindowHTML 1.1
Details

TPJWdwState & TPJRegWdwState 4.3.1

by Peter Johnson





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.

License: Freeware

Related: Delphi, Component, Source, Code, Download, Free, Freeware, Window, state, Minimize, Maximize, Restore, Hkey, Registry, Ini, File, Cm_showingchanged, Wm_destroy, Windows, Api

File Size: 47.0 KB

Downloads: 15

Submit Rating:
Download TPJWdwState & TPJRegWdwState 4.3.1  Report Error Link
More Similar Code


PHP Amp is a Unix compatible script that offers control httpQ remote control functions on your Winamp player with PHP Amp. It has a simple interface and it doesnlt include playlist support but itls free.





Complete image display system including auto-thumbailing, image upload, rating, searching, unlimited galleries and images, private &amp,- locked galleries, bulk import via ftp, products display, alternate images, unlimited categories, My...



A small script to provide a sliding 9 piece puzzle to visitors of your homepage. You can collect their email addresses and give away prizes from time to time.



The FEX Advanced FS-Player is currently the best and most complete flash MP3 audio player available, brings you exclusive features, and is extremely easy and fast to use and customize. / The look and feel of the FEX Advanced FS-Player resembles an...



SAPID is an open source CMS, which is easy to install, which is easy to create a web-site, finally, it is easy to manage it. To install the system you need about 1 Mb of disk space at your hosting server, which supports PHP 4.xx. Note that you...



The Mall23 E-Commerce solution works to give you an affordable e-commerce solution that can have you selling your products on the Internet in minutes, securely. Mall23 E-Commerce can be operated with no programming knowledge and offers multiple...



Compare and restructure your DBISAM v4 database in one easy step. BW Table Compare is an easy to use database utility that takes the backache out of comparing and updating database tables. Save hours keeping sample and live databases up-to-date....



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 Object Inspector the property editor displays a drop-down list of all the possible registry root keys,...



This wizard set destine for generating components that support storing its char based properties in database and keep it values for several languages. There is unlimited language quantity supported. Now designing user interface that changed...



O&O Defrag V8 is the newest generation of the very successful O&O Defrag. Simply, quickly, and securely, you can get the maximum performance out of your expensive hardware investments - and all this with only a tiny investment of time and...

User Review for TPJWdwState & TPJRegWdwState
- required fields
     

Please enter text on the image