1. win32lib v0.54.5 available

Please find the latest patch for win32lib (v0.54.5) at

 http://users.bigpond.net.au/homepage/euphoria/euphoria.htm

This fixes the BELL sounding when pressing the TAB key in some controls.

As this is also the "alpha" version of v0.55, there are a couple of new
features in it as well. I haven't completed them so there may be the odd bug
or two.
- You can choose which key(s) to act as the TAB key.
- You can cause some controls to ignore the TAB key (must press CTRL-TAB
instead)
- There are two new events - Pause and Break. These are not linked to any
specific control.
- There is an alternative event handler method. It does no use the onXXX[]
system. It uses setHandler() and the handlers must all have the same
format...
   function Handler(integer id, integer event, atom defreturn, sequence
params)
where "id" is the id of the control associated with the event,
      "event" is the code for the event that invoked this routine, eg
w32HMouse, w32HClick
      "defreturn" is the default return value - these handlers are
functions.
      "params" is a list of parameters specific to the event. These are the
ones currently passed to the onXXX[] routine.

This is experimental. It may not see a future. I just want to try it out to
see if it is more flexible or easier etc....


------
Derek Parnell
Melbourne, Australia
(Vote [1] The Cheshire Cat for Internet Mascot)

new topic     » topic index » view message » categorize

2. win32lib v0.54.5 available

Please find the latest patches for Win32Lib.ew (version 0.54.5) at

  http://users.bigpond.net.au/homepage/euphoria/euphoria.htm

The main changes are :


- The TAB order is now set correctly when subclassing a combobox.
- The TAB key is now correctly handled which avoids a BEEP on some controls.
- getPointerPosn() now longer crashes.
- The /create() and /createEx() 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.

         -- Ignore the defaults and use the flags supplied here.
   eg.   mywin = create(Window, "title", parent, left, top, width, height,
                        {WS_DLGFRAME, WS_SYSMENU, WS_MINIMIZEBOX}
                       )

         -- Add scrollbars to default window style.
         win2 = create(Window, "caption", parent, left, top, width, height,
                         WS_SCROLLBARS)

If no one reports any major bugs with this during the next week, I'll get
Robert to STAMP this version.

------
Derek Parnell
Melbourne, Australia
(Vote [1] The Cheshire Cat for Internet Mascot)

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu