1. win32lib v0.58.5 release

Please find the latest release of the Win32lib library at

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

I'm releasing this now so that you can play with it over the Easter break
(for those lucky enough to get a break). The documentation content still
needs improving and that will be the main task over the next couple of
weeks.

As usually, please report any bugs to me and I'll see what I can do about
them.

Unfortunately, I haven't had time to address all the known issues that have
been raised, but I haven't forgotten them.

Robert Craig: Please include this in the User Contributions section of your
web site.
----------------
cheers,
Derek Parnell

new topic     » topic index » view message » categorize

2. Re: win32lib v0.58.5 release

Derek,

I found that in click.exw, the scroll mouse causes the following crash:

C:\Euphoria_Programs\win32lib\Demo\click.exw:27 in procedure showclick()
subscript value 10 is out of bounds, reading from a sequence of length 6
... called from C:\EUPHORIA\include\win32lib.ew:7121 in function
invokeHandler()

... called from C:\EUPHORIA\include\win32lib.ew:22671 in function fDoMouse()
... called from C:\EUPHORIA\include\win32lib.ew:23884 in function
MessageProcess
or()
... called from C:\EUPHORIA\include\win32lib.ew:23937 in function SubProc()

^^^ call-back from Windows
... called from C:\EUPHORIA\include\w32dll.ew:279 in procedure w32Proc()
... called from C:\EUPHORIA\include\win32lib.ew:24215 in procedure
eventLoop()

... called from C:\EUPHORIA\include\win32lib.ew:24359 in procedure WinMain()
... called from C:\Euphoria_Programs\win32lib\Demo\click.exw:34
--> see ex.err

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

3. Re: win32lib v0.58.5 release

Its been pointed out to me that I'd left a whole heap of trace statements in
the demos. Sorry about that. I've uploaded a correction now.

----------------
cheers,
Derek Parnell
----- Original Message -----
From: "Derek Parnell" <ddparnell at bigpond.com>
To: "EUforum" <EUforum at topica.com>
Subject: win32lib v0.58.5 release


>
> Please find the latest release of the Win32lib library at
>
>   http://www.users.bigpond.com/ddparnell/euphoria/euphoria.htm
>
> I'm releasing this now so that you can play with it over the Easter break
> (for those lucky enough to get a break). The documentation content still
> needs improving and that will be the main task over the next couple of
> weeks.
>
> As usually, please report any bugs to me and I'll see what I can do about
> them.
>
> Unfortunately, I haven't had time to address all the known issues that
have
> been raised, but I haven't forgotten them.
>
> Robert Craig: Please include this in the User Contributions section of
your
> web site.
> ----------------
> cheers,
> Derek Parnell
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>

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

4. Re: win32lib v0.58.5 release

This is a multi-part message in MIME format.

------=_NextPart_000_0065_01C30578.833C7E20
	charset="iso-8859-1"

Here's is a replacement "click.exw" demo.

----------------
cheers,
Derek Parnell
----- Original Message -----
From: "C. K. Lester" <cklester at yahoo.com>
To: "EUforum" <EUforum at topica.com>
Sent: Friday, April 18, 2003 5:06 AM
Subject: Re: win32lib v0.58.5 release


>
> Derek,
>
> I found that in click.exw, the scroll mouse causes the following crash:
>
> C:\Euphoria_Programs\win32lib\Demo\click.exw:27 in procedure showclick()
> subscript value 10 is out of bounds, reading from a sequence of length 6
> ... called from C:\EUPHORIA\include\win32lib.ew:7121 in function
> invokeHandler()
>
> ... called from C:\EUPHORIA\include\win32lib.ew:22671 in function
fDoMouse()
> ... called from C:\EUPHORIA\include\win32lib.ew:23884 in function
> MessageProcess
> or()
> ... called from C:\EUPHORIA\include\win32lib.ew:23937 in function
SubProc()
>
> ^^^ call-back from Windows
> ... called from C:\EUPHORIA\include\w32dll.ew:279 in procedure w32Proc()
> ... called from C:\EUPHORIA\include\win32lib.ew:24215 in procedure
> eventLoop()
>
> ... called from C:\EUPHORIA\include\win32lib.ew:24359 in procedure
WinMain()
> ... called from C:\Euphoria_Programs\win32lib\Demo\click.exw:34
> --> see ex.err
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>

------=_NextPart_000_0065_01C30578.833C7E20
Content-Type: application/octet-stream;
	name="click.exw"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="click.exw"

include win32lib.ew
without warning

constant win =3D create(Window, "Click", 0, 0, 0, 450, 450, 0),
         sb  =3D create(StatusBar, "", win, 0, 0, 0, 0, 0),
         lv =3D create(ListView, "", win, 10, 10, 150, 150, 0),
         ls =3D create(List, "", win, 200, 10, 200, 350, WS_VSCROLL),
         bt =3D create(Button, "NULL", win, 10, 180, 40, 25, 0)

integer s s =3D 0        =20
integer oldself oldself =3D 0
constant mev =3D {"Left Down", "Left Up", "Left Dbl", "Right Down", =
"Right Up", "Right Dbl",
                "Middle Down", "Middle Up", "", "Wheel"}
constant ctl =3D {{win,sb,lv,ls,bt}, {"Window", "Statusbar", "ListView", =
"List", "Button"}}

procedure showclick(integer self, integer event, sequence parms)

    sequence lx
   =20
    if parms[1] =3D WM_MOUSEMOVE then
        return
    end if    =20
    s +=3D 1
  if self !=3D oldself then
    oldself =3D self
    addItem(ls, sprintf("Control =3D %s", {ctl[2][find(self, ctl[1])]}))
  end if
  addItem(ls, sprintf("#%3d %s", {s,mev[parms[1]-512]}))
  setIndex(ls, getCount(ls))

end procedure

setHandler({win,lv, ls, sb, bt}, w32HMouse, routine_id("showclick"))

WinMain(win, 0)         
------=_NextPart_000_0065_01C30578.833C7E20--

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

5. Re: win32lib v0.58.5 release

> >
> > I found that in click.exw, the scroll mouse causes the following crash:
> >
> Here's is a replacement "click.exw" demo.

Derek, huge problem! When I roll the mouse wheel up OR down, it lists
"Wheel." It should list "Wheel Up" when I roll the wheel up, and "Wheel
Down" when I roll it down. I repeat, it should list "Wheel Up" when I roll
the wheel up, and "Wheel Down" when I roll it down. Although, now that I
think about it, what happens on the screen when I roll down is things get
moved up, so what do you think?

Please make sure to get this fixed before v1.0, because boy is it important.

Thanks,
ck

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

6. Re: win32lib v0.58.5 release

I'll be away with my family on holidays for the next 4 days.


So how about while I'm away, you guys find all the problems - and fix them -
then I'll just incorporate them into the master source file blink

----------------
cheers,
Derek Parnell

----- Original Message -----
From: "Derek Parnell" <ddparnell at bigpond.com>
To: "EUforum" <EUforum at topica.com>
Sent: Friday, April 18, 2003 4:32 AM
Subject: win32lib v0.58.5 release


>
> Please find the latest release of the Win32lib library at
>
>   http://www.users.bigpond.com/ddparnell/euphoria/euphoria.htm
>
> I'm releasing this now so that you can play with it over the Easter break
> (for those lucky enough to get a break). The documentation content still
> needs improving and that will be the main task over the next couple of
> weeks.
>
> As usually, please report any bugs to me and I'll see what I can do about
> them.
>
> Unfortunately, I haven't had time to address all the known issues that
have
> been raised, but I haven't forgotten them.
>
> Robert Craig: Please include this in the User Contributions section of
your
> web site.
> ----------------
> cheers,
> Derek Parnell
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>

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

7. Re: win32lib v0.58.5 release

----- Original Message -----
From: "C. K. Lester" <cklester at yahoo.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: win32lib v0.58.5 release


>
> > >
> > > I found that in click.exw, the scroll mouse causes the following
crash:
> > >
> > Here's is a replacement "click.exw" demo.
>
> Derek, huge problem!

Well let's not hyper-ventilate though. BTW, this is NOT, repeat NOT, a huge
problem - sheesh!

> When I roll the mouse wheel up OR down, it lists "Wheel."

Well, did you or did you not use the mouse wheel? If yes, then it shows that
that's what you did.

>It should list "Wheel Up" when I roll the wheel up, and "Wheel
> Down" when I roll it down. I repeat, it should list "Wheel Up" when I roll
> the wheel up, and "Wheel Down" when I roll it down.

Thanks for repeating that - I wouldn't have understood otherwise. BTW, why
'should' it show Up/Down? If I choose to make the program only show if you
used the wheel or not, then the program is working to specification. It is
not broken.

>Although, now that I
> think about it, what happens on the screen when I roll down is things get
> moved up, so what do you think?

I think you should read the documentation.

> Please make sure to get this fixed before v1.0, because boy is it
important.

It is not broken. However, I've modified the program to distinguish between
Up and Down wheel movements now.

> Thanks,

Your welcome.

--
cheers,
Derek Parnell

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

8. Re: win32lib v0.58.5 release

On Wednesday 23 April 2003 08:06 pm, Derek wrote:

> > Derek, huge problem!
>
> Well let's not hyper-ventilate though. BTW, this is NOT, repeat NOT, a huge
> problem - sheesh!

Well, excuse me for breathing, Mr. I'm-the-Judge-of-What's-A-Huge-Problem.

BTW, I was just JOKING with that last post (and this one too)! :P

> BTW, why 'should' it show Up/Down?

Because I said so.

> If I choose to make the program only show if you
> used the wheel or not, then the program is working to specification. It is
> not broken.

OH YES IT IS!!! Remember, "The user is always right."

> > Please make sure to get this fixed before v1.0, because boy is it
> > important.
>
> It is not broken. However, I've modified the program to distinguish between
> Up and Down wheel movements now.

Thank you!! Thank you!! Thank you!! Thank you!!

I nominate Derek for "Best EUPHORIA Programmer Ever!"

> > Thanks,
>
> Your welcome.

My welcome what?

:)

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

Search



Quick Links

User menu

Not signed in.

Misc Menu