1. Menu - line underneath

I am getting a one pixel variably colored line under my menu.  I searched
the archives for a possible answer, and found this topic was raised in Dec
2002, under RE: I need help.

I could not find if this issue was ever resolved, does anyone know?

I am using win XP home, and v 0.57.9 of win32lib.ew is in my
Euphoria\Include folder.

Thanks
Caroline
caroline at austarnet.com.au

new topic     » topic index » view message » categorize

2. Re: Menu - line underneath

On Tue, 11 Mar 2003 15:36:10 +1000, <caroline at austarnet.com.au> wrote:

>
> I am getting a one pixel variably colored line under my menu.  I searched
> the archives for a possible answer, and found this topic was raised in 
> Dec
> 2002, under RE: I need help.
>
> I could not find if this issue was ever resolved, does anyone know?
>
> I am using win XP home, and v 0.57.9 of win32lib.ew is in my
> Euphoria\Include folder.
>
> Thanks
> Caroline
> caroline at austarnet.com.au
>

I cannot give you the precise fix, but it has to do with the 'version' of 
Windows that Eu2.3 was compiled for. By default, it assumes that you will 
be running Windows 3.1. There is a special patch program that converts your 
Eu2.3 exe to use later versions of Windows.

I don't have it with me, but try the archive site again with this info.
-- 

cheers,
Derek Parnell

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

3. Re: Menu - line underneath

>From: Derek Parnell <ddparnell at bigpond.com>
>Subject: Re: Menu - line underneath
>
>
>On Tue, 11 Mar 2003 15:36:10 +1000, <caroline at austarnet.com.au> wrote:
>
>>
>>I am getting a one pixel variably colored line under my menu.  I searched
>>the archives for a possible answer, and found this topic was raised in Dec
>>2002, under RE: I need help.
>>
>>I could not find if this issue was ever resolved, does anyone know?
>>
>>I am using win XP home, and v 0.57.9 of win32lib.ew is in my
>>Euphoria\Include folder.
>>
>>Thanks
>>Caroline
>>caroline at austarnet.com.au
>>
>
>I cannot give you the precise fix, but it has to do with the 'version' of 
>Windows that Eu2.3 was compiled for. By default, it assumes that you will 
>be running Windows 3.1. There is a special patch program that converts your 
>Eu2.3 exe to use later versions of Windows.
>
>I don't have it with me, but try the archive site again with this info.
>--
>
>cheers,
>Derek Parnell

  Try this URL: 
http://www.listfilter.com/cgi-bin/esearch.exu?fromMonth=1&fromYear=7&toMonth=1&toYear=7&postedBy=robert+craig&keywords=windows+gui+version

It will probably wrap. The patch is at the end of the first message.

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

4. Re: Menu - line underneath

>   Try this URL:
>
http://www.listfilter.com/cgi-bin/esearch.exu?fromMonth=1&fromYear=7&toMonth
=1&toYear=7&postedBy=robert+craig&keywords=windows+gui+version
> It will probably wrap. The patch is at the end of the first message.

I've looked here, thank you, but still (probably stupidly) can't work out
what to download - I am running the v2.3 release, which is for the newer
windows, not Win 3.1.

Caroline
caroline at austarnet.com.au

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

5. Re: Menu - line underneath

On Tue, 11 Mar 2003 16:34:03 +1000, <caroline at austarnet.com.au> wrote:

>
>> Try this URL:
>>
> http://www.listfilter.com/cgi- 
> bin/esearch.exu?fromMonth=1&fromYear=7&toMonth
> =1&toYear=7&postedBy=robert+craig&keywords=windows+gui+version
>> It will probably wrap. The patch is at the end of the first message.
>
> I've looked here, thank you, but still (probably stupidly) can't work out
> what to download - I am running the v2.3 release, which is for the newer
> windows, not Win 3.1.
>

Run this small program. If it prints out "0 4 0 0" then you are running the 
later Windows version.
Otherwise you can run it with the -fix command line option to fixup the 
exe.

------
include file.e
include get.e
integer fh                    sequence bytes
object void
sequence cmd

fh = open("c:\\euphoria\\bin\\exw.exe", "rb")
bytes = get_bytes(fh, 20)
printf(1, "Was: %d %d %d %d\n", bytes[8..11])
close(fh)

cmd = command_line()
if find("-fix", cmd) then
	fh = open("c:\\euphoria\\bin\\exw.exe", "ub")
	void = seek(fh, 8)
	puts(fh, {0,4,0,0})
	close(fh)
	puts(1, "Has now been fixed.\n")
end if


-------------

cheers,
Derek Parnell

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

6. Re: Menu - line underneath

Thank you both so much - I have a firm white line under my menus now!

Caroline
caroline at austarnet.com.au

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

7. Re: Menu - line underneath

Caroline writes:
 > I am getting a one pixel variably colored line under my menu.

Euphoria 2.4 alpha uses GUI version 4.0.
That should fix the problem.
No major bugs have been found so far in 2.4 alpha.
If you don't feel like installing 2.4 alpha,
you can run the previously-mentioned little program
to patch exw.exe from 3.1 to 4.0. In most cases
you won't see much difference between 3.1 and 4.0.

Regards,
    Rob Craig
    Rapid Deployment Software
    http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu