1. I need help.

I am almost done with a game I am programming.  There are a couple 
problems though.  Can you help me?  The program uses win32lib.

1) How do I make a window resize in my program code?

2) How do I make the text on the status bar change?

     Also, when I run any win32lib application, there is one row of 
pixels below the menus that let you see what was behind the window when 
it was made.  Is this a win32lib bug?

Philip

new topic     » topic index » view message » categorize

2. Re: I need help.

Hi Philip,

----- Original Message -----
From: "Philip D." <philip1987 at hotmail.com>
To: "EUforum" <EUforum at topica.com>
Subject: I need help.


>
>      I am almost done with a game I am programming.  There are a couple
> problems though.  Can you help me?  The program uses win32lib.
>
> 1) How do I make a window resize in my program code?

Try the routine ...

  setRect( mywindow, left, top, width, height, True )


> 2) How do I make the text on the status bar change?

The routine setText() will do this.
Eg.
     setText(statbar, "This is the new message")

>      Also, when I run any win32lib application, there is one row of
> pixels below the menus that let you see what was behind the window when
> it was made.  Is this a win32lib bug?

I've never seen this nor has this been reported before. What version of the
library are you using and what version of Windows does it happen on?

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

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

3. Re: I need help.

----- Original Message -----
From: "Brian Broker" <bkb at cnw.com>
To: "EUforum" <EUforum at topica.com>
Subject: RE: I need help.


>
> Derek,
>
> I thought I might have mentioned this one earlier when XP first came
> out.  I saw this issue but I think only when using fancy XP shell (as
> opposed to "Windows Classic" theme).
>
> Anyway, I'm not seeing this using 0.57.9 and if I come across any old
> emails regarding it I'll let you know.  My guess is that he's using an
> older version of the lib...
>
> -- Brian
>
> Derek Parnell wrote:
> > Hi Philip,
> >
> > ----- Original Message -----
> > From: "Philip D." <philip1987 at hotmail.com>
> > To: "EUforum" <EUforum at topica.com>
> > Sent: Tuesday, December 24, 2002 2:06 AM
> > Subject: I need help.
> >
> >
> > >      I am almost done with a game I am programming.  There are a
couple
> > > problems though.  Can you help me?  The program uses win32lib.
> > >
> > > 1) How do I make a window resize in my program code?
> >
> > Try the routine ...
> >
> >   setRect( mywindow, left, top, width, height, True )
> >
> >
> > > 2) How do I make the text on the status bar change?
> >
> > The routine setText() will do this.
> > Eg.
> >      setText(statbar, "This is the new message")
> >
> > >      Also, when I run any win32lib application, there is one row of
> > > pixels below the menus that let you see what was behind the window
when
> > > it was made.  Is this a win32lib bug?
> >
> > I've never seen this nor has this been reported before. What version of
> > the
> > library are you using and what version of Windows does it happen on?
> >
> > ----------------
> > cheers,
> > Derek Parnell
> >
> >
>
>


I have no answer to this problem. I don't see it on my Windows Me or Win2000
systems. However, Wolf Fritz also reported a very similar issue with the
getOpenFileName() call. If anyone can come up with something I'd be glad to
hear it.

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

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

4. Re: I need help.

I have seen the same problem with EuWinGUI on WinXP Home Edition, so it
could be a bug in Windows rather than a bug in Win32lib.

Colin Taylor


>>> ddparnell at bigpond.com 12/24/02 10:48am >>>

----- Original Message -----
From: "Brian Broker" <bkb at cnw.com>
To: "EUforum" <EUforum at topica.com>
Subject: RE: I need help.


>
> Derek,
>
> I thought I might have mentioned this one earlier when XP first came
> out.  I saw this issue but I think only when using fancy XP shell
(as
> opposed to "Windows Classic" theme).
>
> Anyway, I'm not seeing this using 0.57.9 and if I come across any
old
> emails regarding it I'll let you know.  My guess is that he's using
an
> older version of the lib...
>
> -- Brian
>
> Derek Parnell wrote:
> > Hi Philip,
> >
> > ----- Original Message -----
> > From: "Philip D." <philip1987 at hotmail.com>
> > To: "EUforum" <EUforum at topica.com>
> > Sent: Tuesday, December 24, 2002 2:06 AM
> > Subject: I need help.
> >
> >
> > >      I am almost done with a game I am programming.  There are a
couple
> > > problems though.  Can you help me?  The program uses win32lib.
> > >
> > > 1) How do I make a window resize in my program code?
> >
> > Try the routine ...
> >
> >   setRect( mywindow, left, top, width, height, True )
> >
> >
> > > 2) How do I make the text on the status bar change?
> >
> > The routine setText() will do this.
> > Eg.
> >      setText(statbar, "This is the new message")
> >
> > >      Also, when I run any win32lib application, there is one row
of
> > > pixels below the menus that let you see what was behind the
window
when
> > > it was made.  Is this a win32lib bug?
> >
> > I've never seen this nor has this been reported before. What
version of
> > the
> > library are you using and what version of Windows does it happen
on?
> >
> > ----------------
> > cheers,
> > Derek Parnell
> >
> >


I have no answer to this problem. I don't see it on my Windows Me or
Win2000
systems. However, Wolf Fritz also reported a very similar issue with
the
getOpenFileName() call. If anyone can come up with something I'd be
glad to
hear it.

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

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

5. Re: I need help.

The problem appears to happen on some complex, and a few not so complex 
window setups. The problem was actually caused by the Windows GUI version on 
EXW. I have just tested this by running the IDE, and a simple test program. 
If the GUI version was set to 3.1, then the line would appear under the 
menu, sometimes quite big. But if you changed it to 4.0, then the line would 
go away. So, it does have something to do with Windows, but we can fix it at 
least.


Euphoria Instant Messenger
Have YOU Joined?
http://groups.yahoo.com/group/euim/

>From: Derek Parnell <ddparnell at bigpond.com>
>Subject: Re: I need help.
>Date: Wed, 25 Dec 2002 02:48:55 +1100
>
>
>----- Original Message -----
>From: "Brian Broker" <bkb at cnw.com>
>To: "EUforum" <EUforum at topica.com>
>Sent: Tuesday, December 24, 2002 8:16 AM
>Subject: RE: I need help.
>
>
> > Derek,
> >
> > I thought I might have mentioned this one earlier when XP first came
> > out.  I saw this issue but I think only when using fancy XP shell (as
> > opposed to "Windows Classic" theme).
> >
> > Anyway, I'm not seeing this using 0.57.9 and if I come across any old
> > emails regarding it I'll let you know.  My guess is that he's using an
> > older version of the lib...
> >
> > -- Brian
> >
> > Derek Parnell wrote:
> > > Hi Philip,
> > >
> > > ----- Original Message -----
> > > From: "Philip D." <philip1987 at hotmail.com>
> > > To: "EUforum" <EUforum at topica.com>
> > > Sent: Tuesday, December 24, 2002 2:06 AM
> > > Subject: I need help.
> > >
> > >
> > > >      I am almost done with a game I am programming.  There are a
>couple
> > > > problems though.  Can you help me?  The program uses win32lib.
> > > >
> > > > 1) How do I make a window resize in my program code?
> > >
> > > Try the routine ...
> > >
> > >   setRect( mywindow, left, top, width, height, True )
> > >
> > >
> > > > 2) How do I make the text on the status bar change?
> > >
> > > The routine setText() will do this.
> > > Eg.
> > >      setText(statbar, "This is the new message")
> > >
> > > >      Also, when I run any win32lib application, there is one row of
> > > > pixels below the menus that let you see what was behind the window
>when
> > > > it was made.  Is this a win32lib bug?
> > >
> > > I've never seen this nor has this been reported before. What version 
>of
> > > the
> > > library are you using and what version of Windows does it happen on?
> > >
> > > ----------------
> > > cheers,
> > > Derek Parnell
> > >
> > >
>I have no answer to this problem. I don't see it on my Windows Me or 
>Win2000
>systems. However, Wolf Fritz also reported a very similar issue with the
>getOpenFileName() call. If anyone can come up with something I'd be glad to
>hear it.
>
>----------------
>cheers,
>Derek Parnell
>
>
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu