1. RE: win32lib v0.57.4 released - makes bindw crash
- Posted by Henri.Goffin at sbs.be May 06, 2002
- 429 views
Derek, with this version installed bindw crashes with the following error: D:\Euphoria\Bin\bind.ex:1304 in function Fk() type_check failure, Fu is -1 It was enough to restore Win32lib.ew V0.57.1, nothing else, to have bindw work fine again. Thanks for the good job anyway. Henri Goffin > -----Original Message----- > From: Derek Parnell [SMTP:ddparnell at bigpond.com] > Sent: 05 May, 2002 8:32 PM > To: EUforum > Subject: win32lib v0.57.4 released > > > Hi All, > for those that are interested, I've place version 0.57.4 on my website: > > http://www.users.bigpond.com/ddparnell/euphoria/w32lv057.zip 675KB > > If I don't hear of any bugs during the next week, I'll promote it to v0.58 > and get RDS to place it on the contributions section as a stamped file. > > The changes are: > > -- Fixes -- > - "by Matt Lewis". The Delete-All functions for ListView and TreeView now > work. > - "by Martin Stachon". Put back 'include compat01.ew' > - "by Irv Mullins". Now handles clicking into an "empty" treeview without > crashing. > - addItem() now works with empty text strings. > - "by Judith Evans and Martin Stachon". removeTVItem() now correctly resets > the 'has children' flag so that subsequent addTVItem() calls use the correct > graphics. > - "by Martin Stachon". No longer crashes when using getRect() on a closed > window. > - The demo program, 'generic.exw', now saves the text correctly. > - The setSelectedText() routine now works when the length of the selected > text is zero. > - "by Brian Broker". limitText() now works. > - "by Thomas Parslow". GDI resource leak using wPuts and queryFont removed. > - "by Brian Broker". getText() nows returns the newly > - "by Martin Stachon". replaceObject() was not handling tagged resources. > - "by Bernie Ryan". calling the Windows API "xGetScrollInfo" now works. > - addIcon() can now be called before any ListView, TreeView, ComboBoxEx, or > FlatToolBar has been created. > - The Destroy event is now triggered before the control is destroyed. > - The Destroy event, when triggered for the main window, no longer crashes. > > -- Enhancements -- > - The Win32LibVersion constant now has a 4th entry; the date of the version. > - 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. > - setText() no longer generates a warning message for controls that do not > support setting the text. > - setText() now supports atoms, integers, formatting mask, as well as > straight text. > - MleText controls no longer have a Horizontal scroll bar. This means that > they are now automatically in word-wrap mode. > - The Mouse event now responds to Mouse Wheel movements. > - "by Guillermo Bonvehi". shellExecute can now use NULL for the 'verb' > parameter. > - shellExecute() can now supply the style flags as a sequence of individual > flag values. > - "by Thomas Parslow". The bitBlt routine can now handle the source and > destination being the same bitmap. > - getText() and setText() now work with MenuItems. > - Added Minimized and Maximized keywords that can be used in OpenWindow, > ShowWindow, and WinMain routines. > - 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. > - destroy() can now be used to remove a TabItem from a TabControl > - setFont() for RichEdit controls now allows you to specify that the change > affects the entire text or just the insertion point (the default). > - wPuts() can now specify a X,Y position to move to before displaying text. > - wPuts() can now accept numbers as the second parameter. > - When creating a StatusBar control, you can now specify the panels in the> > statusbar. > - "by Brian Broker". addTabs() can now add tabstops to a list box. > - destroy() now works on all control types and releases child control > resoures as well. > - getOpenFileName() now supports selecting multiple files. > > -- New Routines -- > - There is a new routine makeMenu() which is a shorthand way of creating an > entire menu structure for a window. > - A new routine setSubFields() allows you to create sub-fields in the status > bar. setText(), getText() and setHint() now support these sub-fields. > - A new set of routines are available that implements user defined > properties for controls. These routines are defineUserProperty(), > setUserProperty(), resetUserProperty(), and getUserProperty(). > - drawLines() routine allows a multiple disjoint line segments of varying > colors to be rendered in one call. This is faster than calling setPenColor() > and drawLine() multiple times. > - setTVText() used to change the text of a TreeView item. > - collapseItem() used to hide a TreeView item's children. > - toggleItem() used to hide or show a TreeView's children. > - setTVImages() used to change the TreeView item's images. > - getFocus() returns the id of the control that has focus. > - EzCreateFont() is now a global function. > - useLogicalResolution() can be used to control how font's are sized. > - assignFont() updates the font in a control's Device Context > - "by Brian Broker". insertText() and appendText(). > - findItem() to locate an item in a List or Combo type of control. > - getLastMsg() returns the latest windows message. <snip> > >