1. Win32lib.ew

Where do i find the option's for MLE windows when created like this

global constant MainWindowMLE1 =
  create(MleText,"",MainWindow,0,0,592,374,0)

More so how do i turn off the scroll bars?


Grape
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » topic index » view message » categorize

2. Re: Win32lib.ew

On Mon, 24 Jan 2000 13:29:15 PST, Grape_ Vine_ wrote:

>More so how do i turn off the scroll bars?

You'll need to edit Win32Lib.ew...  search for the following bit of code:

    className[ MleText ] = "edit"
    classType[ MleText ] = EDIT
    classStyle[ MleText ] = or_all( {   WS_CHILD,
                                        WS_VISIBLE,
                                        WS_TABSTOP,
                                        WS_HSCROLL,
                                        WS_VSCROLL,
                                        WS_BORDER,
                                        ES_LEFT,
                                        ES_MULTILINE} )
                                        -- ES_AUTOHSCROLL,
                                        -- ES_AUTOVSCROLL} )


and comment out the WS_HSCROLL and/or WS_VSCROLL lines.  I'm thinking it
might be nice to have them removed by default and let the programmer add
them if desired.  (I don't mind having a VSCROLL but I don't much care for
the HSCROLL since the words can automatically wrap without it.)

just a thought,
-- Brian

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

3. Re: Win32lib.ew

>From: Brian Broker <bkb at CNW.COM>
>Reply-To: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU>
>To: EUPHORIA at LISTSERV.MUOHIO.EDU
>Subject: Re: Win32lib.ew
>Date: Mon, 24 Jan 2000 16:48:22 -0500
>
>On Mon, 24 Jan 2000 13:29:15 PST, Grape_ Vine_ wrote:
>
> >More so how do i turn off the scroll bars?
>
>You'll need to edit Win32Lib.ew...  search for the following bit of code:
>
>     className[ MleText ] = "edit"
>     classType[ MleText ] = EDIT
>     classStyle[ MleText ] = or_all( {   WS_CHILD,
>                                         WS_VISIBLE,
>                                         WS_TABSTOP,
>                                         WS_HSCROLL,
>                                         WS_VSCROLL,
>                                         WS_BORDER,
>                                         ES_LEFT,
>                                         ES_MULTILINE} )
>                                         -- ES_AUTOHSCROLL,
>                                         -- ES_AUTOVSCROLL} )
>
>
>and comment out the WS_HSCROLL and/or WS_VSCROLL lines.  I'm thinking it
>might be nice to have them removed by default and let the programmer add
>them if desired.  (I don't mind having a VSCROLL but I don't much care for
>the HSCROLL since the words can automatically wrap without it.)
>
>just a thought,
>-- Brian
Same here, Thanx for the speedy reply


J Reeves
Grape Vine
ICQ# 13728824

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu