Win32lib.ew v0.57.1

new topic     » goto parent     » topic index » view thread      » older message » newer message

This is a multi-part message in MIME format.

------=_NextPart_000_00BD_01C1D7A2.80C8C680
	charset="iso-8859-1"

I've released version 0.57.1 of the win32lib.ew library. The complete
package is available at :

  http://www.users.bigpond.com/ddparnell/euphoria/euphoria/euphoria.htm

This is 693K and contains the library files, documentation, examples, and
commented source code. The list of changes for this release are attached.

-------------
Derek



------=_NextPart_000_00BD_01C1D7A2.80C8C680
Content-Type: text/html;
	name="changes.htm"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="changes.htm"

<html>
<head>
<!-- Generated by MAKEDOC v1.0, (c) 2000 by David Cuny, Derek Parnell =
-->
<!-- from source file 'changes.txt' -->
<!-- on 2002/03/30 at 03h53m49 -->
<style>h4 {text-align: right}</style>
    <title>Documentation for changes.txt</title>
</head>
<body>
<a name=3D"makedocTOC"></a>
<table width=3D100% border=3D1><caption>Table of Contents</caption>
<thead><tr><td><h2>Topic</h2></td><td><h2>Description<h2></td></tr></thea=
d>
<tr><td><a href=3D"#makedocINDEX">Index</a></td><td>Alphabetical list of =
all items.</td></tr>
<tr><td><a href=3D"#CHANGE HISTORY">Change History</a></td><td>This =
records, in brief, the major changes done to the source code.
</td></tr>
</table>
<h4><a href=3D"#makedocTOC">Table of Contents</a></h4>
<h1><a name=3D"CHANGE HISTORY">Change History</a></h1>
<p><h3>This records, in brief, the major changes done to the source =
code.
</h3><br>
Where possible, the appropriate people are given credit as well.
<ul>
<p>
 <strong> V0.57 24/March/2002 </strong>
 <li> Fixed <em>by Matt Lewis</em>. Delete All functions for ListView =
and
TreeView now work.
 <li> Fixed <em>by Martin Stachon</em>. Put back 'include compat01.ew'
 <li> Fixed <em>by Irv Mullins</em>. Now handles clicking into an =
"empty"
treeview without crashing.
 <li> Fixed. addItem() now works with empty text strings.
 <li> Fixed. <em>by Judith Evans and Martin Stachon</em>. <a =
href=3D"win32lib.htm#REMOVETVITEM">removeTVItem</a>()
now correctly resets the 'has children' flag so that subsequent
 <a href=3D"win32lib.htm#ADDTVITEM">addTVItem</a>() calls use the =
correct graphics.
 <li> Fixed <em>by Martin Stachon</em>. No longer crashes when using
getRect() on a closed window.
 <li> Fixed. The demo program, 'generic.exw', now saves the text
correctly.
 <li> Fixed. The setSelectedText() routine now works when the length
of the selected text is zero.
 <li> Enhanced. The Win32LibVersion constant now has a 4th entry; the
date of the version.
 <li> Enhanced. The getControlInfo() function now supports a new info
type - CONTROLINFO_classinfo. This returns a sequence containing the
data used by the control when created - such as Name of control type and
default background color.
 <li> Enhanced. setText() no longer generates a warning message for
controls that do not support setting the text.
 <li> Enhanced. setText() now supports atoms, integers, formatting mask,
as well as straight text.
 <li> Enhanced. MleText controls no longer have a Horizontal scroll bar.
This means that they are now automatically in word-wrap mode.
 <li> Enhanced. The Mouse event now responds to Mouse Wheel movements.
 <li> Enhanced <em>by Guillermo Bonvehi</em>. shellExecute can now use =
NULL
for the 'verb' parameter.
 <li> Enhanced. shellExecute() can now supply the style flags as a
sequence of individual flag values.
 <li> Enhanced <em>by Thomas Parslow</em>. The bitBlt routine can now =
handle
the source and destination being the same bitmap.
 <li> Enhanced. getText() and setText() now work with MenuItems.
 <li> Enhanced. Added Minimized and Maximized keywords that can be
used in OpenWindow, ShowWindow, and WinMain routines.
 <li> Enhanced. The sendMessage(), w32Func() and w32Proc() routines
can now take string arguments. These are automatically converted to
lzpstr 'C' data items for you. The memory is acquired and released
automatically.
 <li> Enhanced. destroy() can now be used to remove a TabItem from a
TabControl
 <li> Enhanced. setFont() for RichEdit controls now allows you to
specify that the change affects the entire text or just the insertion
point (the default).
 <li> Enhanced. wPuts() can now specify a X,Y position to move to before
displaying text.
 <li> Enhanced. wPuts() can now accept numbers as the second parameter.
 <li> Added. There is a new routine makeMenu() which is a
shorthand way of creating an entire menu structure for a window.
 <li> Added. A new routine makeSubFields() allows you to create
sub-fields in the status bar. setText(), getText() and setHint() now
support these sub-fields.
 <li> Added. A new set of routines are available that implements
user defined properties for controls. These routines are
defineUserProperty(), setUserProperty(), resetUserProperty(), and
getUserProperty().
 <li> Added. <a href=3D"win32lib.htm#DRAWLINE">drawLines</a>() routine =
allows a multiple disjoint line
segments of varying colors to be rendered in one call. This
 is faster than calling setPenColor()/drawLine() multiple times.=20
 <li> Added. setTVText() used to change the text of a TreeView item.
 <li> Added. collapseItem() used to hide a TreeView item's children.
 <li> Added. toggleItem() used to hide or show a TreeView's children.
 <li> Added. setTVImages() used to change the TreeView item's images.
 <li> Added. getFocus() returns the id of the control that has focus.
 <li> Added. EzCreateFont() is now a global function.
 <li> Added. assignFont() updates the font in a control's Device Context
 <li> Added. <em>by Brian Broker</em>. insertText() and appendText().
 <li> Changed. expandItem() only takes one parameter now. It no
longer needs the id of the TreeView control.
 <li> Changed. When creating a TabItem, the new TabItem gets focus.
 <li> Changed. SIZENESWPointer has been renamed to SizeNESWPointer to
conform to the naming convention of the other standard Pointer Shape
names.
 <li> Changed. uFindReplaceMsg has been renamed w32FindReplaceMsg to
conform with the naming convention used with other global constants.
 <li> Removed <em>by Martin Stachon</em>. Removed obsolete Windows 3.1
identifiers.
 <li> Removed. The struct_LVDISPINFO() routine was removed because it
wasn't used internally and has very little use to anyone.
<p>
 <strong>V0.55.5 & V0.55.6</strong> were alpha/beta versions.
<p>
 <strong>V0.55.4</strong>
 <li> Fixed. invokeHandler()
 <li> Fixed <em>by Martin Stachon</em>. Cursor constants declarations.
 <li> Fixed. getLVItemText() validates its parameters
<p>
 <strong>V0.55.3</strong>
 <li> Fixed <em>by Martin Stachon</em>.  w32HBreak/w32HPause event calls
now work
 <li> Enhanced. Windows now recieve DoubleClick
(CS_DBLCLKS added to vWindowClassStyle)
 <li> Fixed. getSelf() works for onOpen (added pushSelf(id) to =
WinMain())
 <li> Fixed <em>by Jess Harpur</em>. msgMessage in MSG definition =
changed
to UInt
 <li> Fixed. limitText()
 <li> Fixed. getStreamCallback()
 <li> Fixed. onChange[] for MonthCalendar
<p>
 <strong>V0.55.2</strong>
 <li> Enhanced <em>by Martin Stachon</em>. getFocus() function added - =
gets
id of control which has focus.
 <li> Enhanced <em>by Martin Stachon</em>.  onChange[] event for =
ListViews
added
 <li> Fixed <em>by Martin Stachon</em>.  createEx() for ToolBar buttons
when using captions
 <li> Enhanced <em>by Martin Stachon</em>.  removed CS_HREDRAW, =
CS_VREDRAW
from vWindowClassStyle - windows don't flicker.
 <li> Fixed <em>by Martin Stachon</em>.  crash with pause/break key.
 <li> Fixed <em>by Martin Stachon</em>.  getIndex() for ListViews
 <li> Fixed <em>by Martin Stachon</em>.  isScreenPointIn()
 <li> Fixed default button
 <li> Fixed context menu with right-click
 <li> Fixed tooltips for PushButton in FlatToolBar
<p>
 <strong> V0.55.1 26/Dec/2000 </strong>
 <li> Fixed. Group controls now are visible in Windows.
 <li> Enhanced. A new onActivate event is available. It occurs after a
window is open and is passed no parameters.
 <li> Fixed. The CBN_SELCHANGE event now invokes an onChange handler
rather than an onClick handler.
<p>
 <strong> V0.54.6 23/Nov/2000 </strong>
 <li> Fixed <em>by Dan Moyer</em> <br>
The documentation from "findchildren" onwards is now in the correct
font.
 <li> Fixed. <em>by Travis Beaty</em> <br>
 Using <a href=3D"win32lib.htm#SETINDEX">setIndex</a>() for controls =
that don't support this function no longer
crashes.
 <li> Fixed. <em>by Travis Beaty</em> <br>
 The documentation for <a =
href=3D"win32lib.htm#FINDCHILDREN">findChildren</a>() has been =
corrected.
<p>
 <strong> V0.54.5 21/Nov/2000 </strong>
 <li> Fixed. <em>by Matt Lewis</em> <br>
The TAB order is now set correctly when subclassing a combobox.
 <li> Fixed.
The TAB key is now correctly handled which avoids a BEEP on some
controls.
 <li> Added.
 <a href=3D"win32lib.htm#SETTABCODE">setTabCodes</a>(). It is now =
possible to specify which key(s) are to act
as TAB keys.
 <li> Added.
 <a href=3D"win32lib.htm#SETTABENABLED">setTabEnabled</a>(). It is now =
possible to specify whether a control
reacts to a TAB key or not.
 li Fixed. <em>by Gwen</em> <br>
 <a href=3D"win32lib.htm#GETPOINTERPOSN">getPointerPosn</a>() now longer =
crashes.
 <li> Enhanced.
 The <a href=3D"win32lib.htm#CREATE">create</a>() and <a =
href=3D"win32lib.htm#CREATEEX">createEx</a>() functions can now =
optionally replace the
default style flags instead of combine with them. This is done by
suppling the replacement flags as a sequence of flags rather than an
atom.
<p>
 <strong> V0.54.4 10/Nov/2000 </strong>
 <li> Fixed. <em>by Davi Figueiredo</em> <br>
 The <a href=3D"win32lib.htm#SETCLIENTRECT">setClientRect</a>() now =
correctly handles windows with Toolbars.
 <li> Fixed. <em>by Davi Figueiredo</em> <br>
The documentation for openDialog() is now much improved.
<p>
 <strong> V0.54.3 8/Nov/2000 </strong>
 <li> Fixed. <em>by Dan Moyer</em> <br>
If a window is opened as either Modal or Dialog, the library ensures
that the window cannot be minimized.
 <li> Added. isMinimized(), isMaximized()
These functions let the application know if a window is minimized
or maximized (or not).
 <li> Fixed.
 The routine <a href=3D"win32lib.htm#REMOVESTYLE">removeStyle</a>() now =
works plus it can remove extended
styles as well.
 <li> Fixed. The "subclassing" error 460 has been resolved.
 <li> Fixed.
Converting a number to a 16-bit signed integer now correctly handles
negative values and values between 32000 and 32767.
 <li> Added.
 <a href=3D"win32lib.htm#ADDSTYLE">addStyle</a>() can be used to add =
styles to existing control styles.
 <li> Added.
 <a href=3D"win32lib.htm#GETWINDOWINFO">getWindowInfo</a>() is used to =
get various information about a window.
 <li> Changed.
The library no longer uses Euphoria's memory management routines.
<p>
 <strong> V0.54.2 5/Nov/2000 </strong>
 <li> Fixed. <em>by Davi Figueiredo</em> <br>
The routines to set the scroll position now provide the correct
control id for getSelf() calls from Scroll handlers.
<p>
 <strong> V0.54.1 4/Nov/2000 </strong>
 <li> Fixed. <em>by Davi Figueiredo</em> <br>
The routine dropFiles() now has the correct number of parameters.
<p>
 <strong>V0.54</strong>
 <li> Fixed. Can now use <a href=3D"win32lib.htm#SETHINT">setHint</a>() =
an a top-level window.
 <li> Fixed. No longer triggers an <a =
href=3D"win32lib.htm#ONSCROLL">onScroll</a> event if the scroll position =
hasn't actually changed.
 <li> Fixed. Now handles setting focus after a control has been =
destroyed.
 <li> Fixed. The freeing of string memory has been made reenterant.
 <li> Fixed. <a href=3D"win32lib.htm#GETMULTINDICE">getMultIndices</a>() =
and <a href=3D"win32lib.htm#GETMULTITEM">getMultItems</a>() now cope =
with no items selected.
 <li> Fixed. No longer crashes when a TVN_DELETEITEM event occurs for =
treeview controls.
 <li> Fixed. The use of Modal windows no longer crashes the Application.
 <li> Enhanced. <a href=3D"win32lib.htm#WARNERR">warnErr</a>() now =
allows the user can now opt to ignore repeated warnings.
 <li> Enhanced window scrollbars. Standard scroll bars on windows =
windows now trigger onScroll events
 <li> Enhanced. <a href=3D"win32lib.htm#CREATE">create</a>(), <a =
href=3D"win32lib.htm#CREATEEX">createEx</a>(), <a =
href=3D"win32lib.htm#SETCLIENTSIZE">setClientSize</a>(), <a =
href=3D"win32lib.htm#SETCTLSIZE">setCtlSize</a>(), <a =
href=3D"win32lib.htm#SETRECT">setRect</a>(), and <a =
href=3D"win32lib.htm#SETPENPOSITION">setPenPosition</a>()
In addition to the current method, you can now supply dimensions
relative to the control's parent in terms of percentages, plus
optional pixel offset. You can even align things to the edges of
the parent. Optionally you can specify minimum and maximum
sizes.
 <li> Enhanced.
Extra validation is being done to ensure that Window Handles are
being used with the correct control ID.
 <li> Enhanced
The event handlers onXXX can now be set for the Screen ID. This
will capture all events of the given type for all controls in
 the application.  For example <a =
href=3D"win32lib.htm#ONKEYDOWN">onKeyDown</a>[Screen] will be fired
for all KeyDown events on all controls.
 <li> Enhanced
 <a href=3D"win32lib.htm#GETTEXTEXTENT">getTextExtent</a>() now takes =
either a single text string or
multiple strings. It returns the maximum, minimum and total
pixels for width and height. This change will not effect
existing code.
 <li> Added  <a href=3D"win32lib.htm#GETCHAREXTENT">getCharExtent</a>()
This returns the average width and height for a text character
in a given control.
 <li> Added <a href=3D"win32lib.htm#GETVSCROLLPO">getVScrollPos</a>(), =
<a href=3D"win32lib.htm#GETHSCROLLPO">getHScrollPos</a>(), <a =
href=3D"win32lib.htm#SETVSCROLLPO">setVScrollPos</a>(), <a =
href=3D"win32lib.htm#SETHSCROLLPO">setHScrollPos</a>()
These get and set the Vertical and Horizontal positions of
scrollbars that are attached to windows via the WS_HVSCROLL
 <li> Added <a href=3D"win32lib.htm#CLASSDEFAULT">classDefaults</a>()
This allows you to set the default styles for each control.
 <li> Added <a href=3D"win32lib.htm#SETCLIENTRECT">setClientRect</a>()
This resizes your window so that the client area is a specified.
 <li> Added <a href=3D"win32lib.htm#DOEVENT">doEvents</a>()
This allows Windows to check for message events during event
handling.
 <li> Added <a href=3D"win32lib.htm#ACQUIRE_MEM">acquire_mem</a>(), <a =
href=3D"win32lib.htm#RELEASE_MEM">release_mem</a>(), <a =
href=3D"win32lib.htm#NEW_MEMSET">new_memset</a>(), and <a =
href=3D"win32lib.htm#MANAGE_MEM">manage_mem</a>()
These are the new memory management routines that are used in
win32lib. The use of free(), allocate() and allocate_string()
is discouraged inside win32lib.ew. Please use the new routines
instead.
 <li> Added <a href=3D"win32lib.htm#GETPOSITION">getPosition</a>()
This returns a sequence containing the pixel position of the
top lefthand corner of the control
 <li> Added <a href=3D"win32lib.htm#COPYFILE">copyFile</a>(), <a =
href=3D"win32lib.htm#DELETEFILE">deleteFile</a>(), <a =
href=3D"win32lib.htm#MOVEFILE">moveFile</a>(), <a =
href=3D"win32lib.htm#CREATEDIRECTORY">createDirectory</a>(),
 <a href=3D"win32lib.htm#GETTMPPATH">getTmpPath</a>(), <a =
href=3D"win32lib.htm#GETTEMPFILE">getTempFile</a>()
 These are wrappers for the Windows file/directory commands.=20
 <li> Added <a href=3D"win32lib.htm#OPENDIALOG">openDialog</a>()
This simulates a dialog-type window. It opens the specified
window and directs all events to that window until its closed.
 <li> Added <a href=3D"win32lib.htm#SHOWCHAR">showChars</a>()
 This function sets an internal flag that causes <a =
href=3D"win32lib.htm#WPRINT">wPrint</a>() to
show displayable characters in readable form. The initial setting
is to show such characters like Euphoria's print() function.
 <li> Added eucompress.exw
This is a Windows program that compresses any euphoria source
code by removing unrequired spaces, empty lines and comments.
 <li> Changed
 setPosition() has been renamed to <a =
href=3D"win32lib.htm#SETPENPOSITION">setPenPosition</a>()
 <li> Changed
 moveWindow() has been renamed to <a =
href=3D"win32lib.htm#SETRECT">setRect</a>()
 <li> Changed
 getExtent() has been renamed <a =
href=3D"win32lib.htm#GETCTLSIZE">getCtlSize</a>()
 <li> Changed
 getSize() has been renamed to <a =
href=3D"win32lib.htm#GETRECT">getRect</a>()
 <li> Changed
 setSize() has been renamed to <a =
href=3D"win32lib.htm#SETCTLSIZE">setCtlSize</a>()
 <li> Changed
The routines renamed above are actually still defined in
a compatability file "compat01.ew" which will not be distributed
when version 1.00 is released. This file is automatically
included in the library for now, but from v1.00 onwards will be
distributed but not included inside win32lib.ew
 <li> Changed
The distribution now comes with a number of toolkit files.
tk_mem.e (memory management)
tk_maths.e (Mathematical functions)
tk_misc.e (Miscellaneous)
These can be used with any Eu project.
These files are "included" by win32lib.ew
An additional file, tk_fileio.e, is also distributed but it is
not used by win32lib.
 <li> Changed.
 <a href=3D"win32lib.htm#ONCLICK">onClick</a> events now fired for all =
non-static controls that don't
capture mouse events. For example, the StatusBar.
 <li> Changed
Now uses the DoubleClick time interval for the maximum mouse
click time tolerence.
 <li> Changed
For those routines that deal with positioning controls etc, the
X and Y (left and top) coordinates are relative to the parent's
client area, not the parent's borders.
This may break some code that currently manually adjusts these
values to account for Toolbar and StatusBar controls. These sort
of adjustments are now done automatically.
 <li> Removed.
The routines free_strings(), allot_string(), and
allocate_struct() have been removed.
<p>
 <strong>V0.53</strong>
 <li> Reorganised WndProc and SubProc routines to improve maintenance =
and speed.
 <li> Removed CBS_DISABLENOSCROLL from ComboBox styles <em> by Wolfgang =
Fritz</em>
 <li> Removed CBS_SIMPLE from SortedComboBox styles <em> by Wolfgang =
Fritz</em>
 <li> fix bug that destroyed the window_range whenever a control was =
created <em> by Davi Figueiredo</em>
 <li> fix bug that allowed an apps windows to be closed while a modal =
window was active <em> by Davi Figueiredo</em>
 <li> fix bug in which extended flags were only being used if supplied =
by the caller <em> by Davi Figueiredo</em>
 <li> added test for "is Destroyed" when activating contols in a <a =
href=3D"win32lib.htm#TABITEM">tabitem</a>. <em> by Renzo Beggia</em>
 <li> fixed <a href=3D"win32lib.htm#GETSELF">getSelf</a>() bug in which =
the wrong ID was returned after a subsequent <a =
href=3D"win32lib.htm#SENDMESSAGE">sendmessage</a>(). <em> by Matt =
Lewis</em>
 <li> changed <a href=3D"win32lib.htm#ONCLICK">onClick</a> to fire on =
left button up (inside same area and < 0.5 secs) rather than on left =
button down. <em> by Derek Parnell</em>
 <li> hotkey activation on buttons, now checks for <a =
href=3D"win32lib.htm#ONCLICK">onClick</a>() handler. <em> by Derek =
Parnell</em>
 <li> Fixed bug. User can no longer set focus to a control that is =
invisible or disabled. <em> by Derek Parnell</em>
 <li> <a href=3D"win32lib.htm#ONKEYPRES">onKeyPress</a> can now =
(optionally) return an alternative key or -1 to ignore the key.
 <li> added <a href=3D"win32lib.htm#GETHANDLE">getHandles</a>(), <a =
href=3D"win32lib.htm#FINDPARENT">findParent</a>(), <a =
href=3D"win32lib.htm#FINDPARENTWINDOW">findParentWindow</a>(), and <a =
href=3D"win32lib.htm#FINDCHILDREN">findChildren</a>()
 <li> added <a href=3D"win32lib.htm#REGISTERHOTKEY">registerHotKey</a>()
 <li> add changed cursor during a Drag & Drop operation. <em> by Matt =
Lewis</em>
 <li> fixed bug which prevented hotkeys being used for tabitems.
 <li> fix bug. The wrong parameter was being used to set a Progress =
Bar's range. <em> by Wolfgang Fritz</em>
 <li> added some error checking for invalid Style flags etc.. when =
creating a control.
 <li> documented <a href=3D"win32lib.htm#VALIDID">validId</a>(), <a =
href=3D"win32lib.htm#GETSELF">getSelf</a>(), <a =
href=3D"win32lib.htm#GETHANDLE">getHandle</a>()
 <li> The following routines where hidden: ILAddIcon(), ILAdd(), =
ILAddMasked()
 <li> Documented (briefly) many ListView and TreeView functions.
 <li> renamed getParent() to <a =
href=3D"win32lib.htm#GETTVPARENT">getTVParent</a>()
 <li> enhanced <a href=3D"win32lib.htm#SETWARNING">setWarning</a>() to =
treat all "warning" messages as abort messages.
 <li> <a href=3D"win32lib.htm#WARNERR">warnErr</a>() now supports user =
defined clean up routines like <a =
href=3D"win32lib.htm#ABORTERR">abortErr</a>() does.
 <li> Fixed bug. <a href=3D"win32lib.htm#SETFONT">setFont</a>(..., Bold) =
now sets a true bold character. <em> by Travis Beaty</em>
 <li> added <a href=3D"win32lib.htm#SETFONTWEIGHT">setFontWeight</a>() =
to set how dark 'bold' really is.
<p>
 <strong>V0.52a</strong>
 <li> fixed getText() for RichText controls <em> by David Cuny</em>
 <li> restored scrollbars to RichText controls <em> by David Cuny</em>
<p>
 <strong>V0.52</strong>
 <li> added  <em> by Thomas Parslow</em>
<ul>
 <li>    <a href=3D"win32lib.htm#GETPOINTERPOSN">GetPointerPosn</a>()
 <li>    <a href=3D"win32lib.htm#SETPOINTERPOSN">SetPointerPosn</a>()
 <li>    <a =
href=3D"win32lib.htm#CLICKPOINTERLEFT">ClickPointerLeft</a>()
 <li>    <a href=3D"win32lib.htm#DRAGPOINTERTO">DragPointerTo</a>()
 </ul>=20
 <li> deleted
<ul>
 <li>    removeNth()
 <li>    ltrim() as they are no longer used.
 </ul>=20
 <li> added <a href=3D"win32lib.htm#LIMITTEXT">LimitText</a>() <em> by =
Derek Parnell</em>
 <li> fixed bug in putting a "stream" of text in to a <a =
href=3D"win32lib.htm#RICHEDIT">RichEdit</a> control <em> by Matt =
Lewis</em>
 <li> allow <a href=3D"win32lib.htm#ONEVENT">onEvent</a> handlers to =
return a ZERO return code. <em> by Derek Parnell</em>
 <li> fixed CreateDC bug in <a =
href=3D"win32lib.htm#GETPAGESETUP">getPageSetup</a>(). Was not selecting =
the correct printer device nor modes.
 <em> by Wolgang Fritz</em>
 <li> fixed memory allocation bug in <a =
href=3D"win32lib.htm#GETTEXT">getText</a>() [for RichEdit controls] and =
<a href=3D"win32lib.htm#GETRICHTEXT">getRichText</a>(). <em> by Derek =
Parnell</em>
 <li> enabled <a href=3D"win32lib.htm#GETRICHTEXT">getRichText</a>() to =
get all the text in a control. <em> by Derek Parnell</em>
 <li> enabled <a href=3D"win32lib.htm#ONCLOSE">onClose</a> handler to =
return a value. A non-zero return means to abort the close request. <em> =
by Derek Parnell</em>
 <li> fixed bug in <a href=3D"win32lib.htm#WMSCROLL">wmScroll</a>() when =
the hWnd was not one of the apps handles.
 <li> <a href=3D"win32lib.htm#GETTEXT">getText</a>() and <a =
href=3D"win32lib.htm#SETTEXT">setText</a>() now supports multipart <a =
href=3D"win32lib.htm#STATUSBAR">StatusBars</a>. <em> by Derek =
Parnell</em>
 <li> added support for user-defined clean up routines. See new <a =
href=3D"win32lib.htm#ATTACHCLEANUP">attachCleanUp</a>() and <a =
href=3D"win32lib.htm#DETACHCLEANUP">detachCleanUp</a>(), and updated <a =
href=3D"win32lib.htm#ABORTERR">abortErr</a>(). <em> by Derek =
Parnell</em>
<p>
 <strong>V0.51</strong>
 <li> enabled DefaultFont to be set by user. <em> by Wolfgang Fritz</em>
<p>
 <strong>V0.50c</strong>
 <li> removed CBS_DROPDOWNLIST from ComboBox controls
<p>
 <strong>V0.50b</strong>
 <li> Fixed drag & drop flag when creating a window
 <li> fixed bug in applying extended flags when creating controls.
<p>
 <strong>V0.50a</strong>
 <li> added support for destroying controls.
 <li> Don't try to get the handle to a destroyed control.
<p>
 <strong>V0.50</strong>
 <li> added support for extended flags in controls
 <li> added <em>by Matt Lewis</em>
<ul>
 <li>    xPageSetupDlg
 <li>    ImageList_Create
 <li>    ImageList_AddIcon
 <li>    ImageList_GetImageCount
 <li>    ImageList_DragMove
 <li>    ImageList_BeginDrag
 <li>    ImageList_EndDrag
 <li>    ImageList_DrawEx
 <li>    ImageList_Add
 <li>    ImageList_AddMasked
 <li>    ImageList_SetBkColor
 <li>    CopyImage
 <li>    xGetDIBits
 <li>    GetLastError
 <li>    FindTextA
 <li>    ReplaceTextA
 <li>    CommDlgExtendedError
 <li>    RegisterWindowMessage
 <li>    FINDMSGSTRING
 <li>    uFindReplaceMsg
 <li>    xInitCommonControlsEx
 <li>    ChildWindowFromPoint
 <li>    ChildWindowFromPointEx
 <li>    getSystemMetrics()
 </ul>=20
 <li> Support for ListBoxes, ProgressBar controls <em> by Matt =
Lewis</em>
 <li> added <a =
href=3D"win32lib.htm#GETSELECTEDTEXT">getSelectedText</a>(), <a =
href=3D"win32lib.htm#SETSELECTEDTEXT">setSelectedtext</a>()
<p>
 <strong>V0.47l</strong>
 <li> set default window back color
 <li> set mainWindow when creating first window (so getFontExtent() will =
work)
<p>
 <strong>V0.46l</strong>
 <li> Added Default key processing for PushButtons
<p>
 <strong>V0.46h</strong>
 <li> added hotkey support via <a =
href=3D"win32lib.htm#REGISTERHOTKEY">registerHotkey</a>()
 <li> <a href=3D"win32lib.htm#ISVISIBLE">isVisible</a>() and isEnabled() =
now always returns True for TabItem controls
<p>
 <strong>V0.45r</strong>
 <li> added window text align status
 <li> system font ANSI_VAR_FONT instead of SYSTEM_FONT
 <li> Align text in wPuts()
 <li> added getFontMetric()
<p>
 <strong>V0.45q</strong>
 <li> Abort if queryFont() called before a window has been created.
 <li> added instance() to registerClass()
<p>
 <strong>V0.45p</strong>
 <li> Set default font when creating a pixmap, and controls
 <li> Pass instance handle when creating controls
 <li> added test for "is TabItem" when activating controls inside a <a =
href=3D"win32lib.htm#TABITEM">tabitem</a>
<p>
 <strong>V0.45o</strong>
 <li> added range check to isStockResource()
 <li> When deleting objects, only release if it if it belongs to the =
supplied handle
 <li> Abort if an invalid id was passed to getHandle()
 <li> Allow NULL owner to be passed.
 <li> fixex bug: insertItem() now allows for Windows zero-based =
indexing.
<p>
 <strong>V0.45m</strong>
 <li> added  xChooseFont
 <li> defined DWord and Ptr as aliases for Long
 <li> CHOOSEFONT structure
 <li> only handles WM_COMMAND events if receiver is direct parent of =
control
<p>
 <strong>V0.45l</strong>
 <li> use COLOR_BTNFACE as default window color
 <li> Separated the WndProc and SubProc routines.
 <li> added NullBrushID
 <li> changed isStockResource() logic
 <li> When deleting objects, ignore a null handle
 <li> prevent the tracking of NULL resources
 <li> Release printer resource before freeing printer.
 <li> fix resource leak with tooltips
 <li> Pass parent's handle when creating a control
<p>
 <strong>V0.45j</strong>
 <li> added PenWidth
<p>
 <strong>V0.45k</strong>
 <li> added
<ul>
 <li>    xColorDlg
 <li>    xDragQueryFile
 </ul>=20
 <li> COLORDLG structure
 <li> Added drag-n-drop support to ListBox, EditText, MLEdit, Window =
controls.
 <li> added onDragAndDrop and onEvent handlers
 <li> added destroyed window tracking
<p>
 <strong>V0.45j</strong>
 <li> Error Handling, <a =
href=3D"win32lib.htm#SETWARNING">setWarning</a>()
<p>
 <strong>V0.45i</strong>
 <li> Default Window Color
 <li> added <a href=3D"win32lib.htm#HTRACKBAR">HTrackBar</a>, <a =
href=3D"win32lib.htm#VTRACKBAR">VTrackBar</a>, <a =
href=3D"win32lib.htm#TABCONTROL">TabControl</a>, <a =
href=3D"win32lib.htm#TABITEM">TabItem</a> controls
<p>
 <strong>V0.45g</strong>
 <li> added window group tracking
 <li> Tabitem support
 <li> improved the tabbing between controls
<p>
 <strong>V0.45f</strong>
 <li> added some low-level internal routines: pack_word(), abs()
 <li> defined UInt and Lpsz
 <li> TC_ITEM structure
 <li> NMHDR structure
 <li> added window range tracking and window tab item tracking
 <li> added support for WM_NOTIFY messages
 <li> fixed bug. Now releases string memory when creating new controls.
<p>
 <strong>V0.45e</strong>
 <li> Extended styles <em> by Matt Lewis</em>
 <li> added 3D-look to ComboBox controls
<p>
 <strong>V0.45b</strong>
 <li> add getClientSize()
<p>
 <strong>V0.45</strong>
 <li> added POPUP window class
 <li> added <a href=3D"win32lib.htm#GETCLIENTPOINT">getClientPoint</a>()
<p>
 <strong>V0.44h</strong>
 <li> added window hotkey tracking
<p>
 <strong>V0.44b</strong>
 <li> added
<ul>
 <li>    xGetSystemMetrics
 <li>    xShellExecute
 </ul>=20
 <li> added window cursor tracking
 <li> set the custom mouse pointer shape on mouse events
<p>
 <strong>V0.43d</strong>
 <li> added paintDC stack
<p>
 <strong>V0.43b</strong>
 <li> Track printer resource
<p>
 <strong>V0.43</strong>
 <li> added
<ul>
 <li>    xPrintDlg
 <li>    xStartDoc
 <li>    xStartPage
 <li>    xEndPage
 <li>    xEndDoc
 <li>    xAbortDoc
 </ul>=20
 <li> PRINTDLG structure
 <li> DOCINFO structure
 <li> Created pseudo-class Printer_ and made this and Screen_ hidden
 <li> In listBox, replaced ES_AUTOSCROLL with WS_VSCROLL
 <li> added printer support
 <li> Hide EzCreateFont(), createWindow() from the user
 <li> set default font info for controls
 <li>  added <a href=3D"win32lib.htm#QUERYFONT">queryFont</a>()
 <li> Fix bug. The <a href=3D"win32lib.htm#CLEAR">clear</a>() function =
now <strong>clears</strong> a control rather than <strong>cut</strong> =
it.
<p>
 <strong>V0.42e</strong>
 <li> ensure <a href=3D"win32lib.htm#GETSELF">getSelf</a>() returns the =
correct id for child controls.
<p>
 <strong>V0.42</strong>
 <li> added
<ul>
 <li>    removeNth(),
 <li>    ltrim() for XPM support
 </ul>=20
 <li> restored WS_VSCROLL attribute to ComboBox
 <li> transparency color support
 <li> passes 4 parameters instead of 3 to onMouse handler
 <li> added shift flags to key up/down/char handlers
 <li> <a href=3D"win32lib.htm#GETRECT">getRect</a>() now returns 4 =
parameters.
<p>
 <strong>V0.41a</strong>
 <li> Register each window as a new class.
<p>
 <strong>V0.41</strong>
 <li> Defined standard color constants
 <li>  added
<ul>
 <li>    xMapWindowPoints
 <li>    xGetCursorPos
 <li>    xGetActiveWindow
 </ul>=20
 <li> MSG structure
 <li> added ToogleButton, TogglePicture controls
 <li> Created pseudo-class Screen_
 <li> Track current self and return values
 <li> added tooltips
 <li> Ignore empty strings in wPuts()
 <li> font information saved for all controls and windows
 <li> added <a href=3D"win32lib.htm#GETFONTSIZE">getFontSize</a>(), <a =
href=3D"win32lib.htm#SETTEXTALIGN">setTextAlign</a>(), <a =
href=3D"win32lib.htm#GETCLIENTRECT">getClientRect</a>()
 <li> Only apply user flags for non-picture controls when creating a new =
control
 <li> allow user to return a value from <a =
href=3D"win32lib.htm#ONEVENT">onEvent</a>()
 <li> added onLostFocus() handler.
 <li> added onTimer handler
<p>
 <strong>V0.40</strong>
 <li>  added these definitions
<ul>
 <li>    comctl32
 <li>    kernel32
 <li>    shell32
 <li>    xInitCommonControls
 <li>    True
 <li>    False
 </ul>=20
 <li> added ToolBar, StatusBar, PictureButton controls
 <li> resize "contained" widget during a RESIZE message.
<p>
 <strong>V0.31</strong>
 <li>   made findKey() global
 <li> Support for private Windows messages
 <li> run <a href=3D"win32lib.htm#ONCLOSE">onClose</a> action before =
hiding window
 <li> added <a href=3D"win32lib.htm#GETNUMBER">getNumber</a>()
<p>
 <strong>V0.30</strong>
 <li> removed stockResource
 <li> added isStockResource()
 </ul>=20

</p>
<hr>
<h4><a href=3D"#makedocTOC">Table of Contents</a></h4>
<h2><a name=3D"MISCELLANEOUS NOTE">[<i></i>]<br>Miscellaneous Notes</a> =
</h2>
Category: <a href=3D"#MISCELLANEOUS NOTE">Miscellaneous Notes</a>
<p><hr>
<a name=3D"makedocINDEX"><h1><b>Index</b></h1></a>
<a href=3D"#CHANGE HISTORY">Change History</a> <br>
<a href=3D"#MISCELLANEOUS NOTE">Miscellaneous Notes</a>  =
[<i><code></code></i>] <br>
<hr>

------=_NextPart_000_00BD_01C1D7A2.80C8C680--

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu