Save and Restore Window and Cursor Position - Visible
CodeWright® - API Macro - Royalty Free -
This function Maintains the edit window dimensions, edit window location, and cursor position within the edit window. This information is maintained and is accessible by the calling DLL function or API macro.
The first call allocates an array and stores the values for later use.
The second call restores the information using the values from the array and then deletes the array.
If the calling DLL function or API macro exits without issuing the second call then a memory leak will result.
API Macro Example:
DLL Function Example:
Current version verified under:
CodeWright for .NET Restriction
The API functions used in this function are not Exported. As a result, this function can not be written as an API macro. This function is only available in the tlaTools DLL.
tlaTools is a Dynamic Link Library that contains most of the API macros on this website in a single easy to install package. The tlaTools DLL can be purchased by selecting the Buy button on this page.
tlaPositionVisible is included as a function in tlaTools.
Copyright © 1993-2005 Thom Little Associates, Ltd. revised
One Central Square, Keene, NH 03431-3787 phone 603-357-7567