1. euviewer3

Al how can I change
--Win =  
  --  acreate( aWindow, "", 0, 0, 0, WinWidth, WinHeight,  WS_POPUP)
--Use EzWindow to create the main window:
MainAppWindow=EzWindow:Create(WS_EX_CONTROLPARENT,     --style Ex
0,-- OR({WS_VISIBLE,WS_OVERLAPPEDWINDOW}),--WS_VSCROLL,WS_HSCROLL,}),  
 --style, scrollbars distract from pic!
  MainWinBkColor,      --background color
 " EuViewer",  --caption
  0, 0,              --xpos, ypos
  800, 500,            --width, height
  0,                   --parent ID
  0)                   --events (none yet)

    to

--winClasss
Win =  
    acreate( Window, "", 0, 0, 0, WinWidth, WinHeight,  WS_POPUP)

        or

--win32
constant Window1 = createEx( Window, "Window1", 0, Default, Default, 400, 280,
{WS_POPUP, WS_THICKFRAME}, 0 )



Don Cole
A Bug is an un-documented feature.
A Feature is a documented Bug.

new topic     » topic index » view message » categorize

2. Re: euviewer3

don cole wrote:
> 
> 
> Al how can I change
> --Win =  
>   --  acreate( aWindow, "", 0, 0, 0, WinWidth, WinHeight,  WS_POPUP)
> --Use EzWindow to create the main window:
> MainAppWindow=EzWindow:Create(WS_EX_CONTROLPARENT,     --style Ex
>  0,-- OR({WS_VISIBLE,WS_OVERLAPPEDWINDOW}),--WS_VSCROLL,WS_HSCROLL,}),  
>  --style,
> scrollbars distract from pic!
>   MainWinBkColor,      --background color
>  " EuViewer",  --caption
>   0, 0,              --xpos, ypos
>   800, 500,            --width, height
>   0,                   --parent ID
>   0)                   --events (none yet)
> 
>     to
> 
> --winClasss
> Win =  
>     acreate( Window, "", 0, 0, 0, WinWidth, WinHeight,  WS_POPUP)
> 
>         or
> 
> --win32
> constant Window1 = createEx( Window, "Window1", 0, Default, Default, 400, 280,
> {WS_POPUP, WS_THICKFRAME}, 0 )
> 
> 
> Don Cole
> A Bug is an un-documented feature.
> A Feature is a documented Bug.

Hi Don,

Are you saying you want to create the main window using WinLib or something
like that?  If you're using EuViewer3 you dont need WinLib to create
a window.  The returned ID is somewhat the same as that returned in
WinLib, but if you need to create a special window that EzWindow wont
allow you to create, use Window instead of EzWindow, but i think you
should be able to use EzWindow just by changing the parameters.

Im not exactly sure what you want to do there though, perhaps you can
clarify the question a little bit?  


Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

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

3. Re: euviewer3

Al Getz wrote:
> 
> don cole wrote:
> > 
> > 
> > Al how can I change
> > --Win =  
> >   --  acreate( aWindow, "", 0, 0, 0, WinWidth, WinHeight,  WS_POPUP)
> > --Use EzWindow to create the main window:
> > MainAppWindow=EzWindow:Create(WS_EX_CONTROLPARENT,     --style Ex
> >  0,-- OR({WS_VISIBLE,WS_OVERLAPPEDWINDOW}),--WS_VSCROLL,WS_HSCROLL,}),  
> >  --style,
> > scrollbars distract from pic!
> >   MainWinBkColor,      --background color
> >  " EuViewer",  --caption
> >   0, 0,              --xpos, ypos
> >   800, 500,            --width, height
> >   0,                   --parent ID
> >   0)                   --events (none yet)
> > 
> >     to
> > 
> > --winClasss
> > Win =  
> >     acreate( Window, "", 0, 0, 0, WinWidth, WinHeight,  WS_POPUP)
> > 
> >         or
> > 
> > --win32
> > constant Window1 = createEx( Window, "Window1", 0, Default, Default, 400,
> > 280,
> > {WS_POPUP, WS_THICKFRAME}, 0 )
> > 
> > 
> > Don Cole
> > A Bug is an un-documented feature.
> > A Feature is a documented Bug.
> 
> Hi Don,
> 
> Are you saying you want to create the main window using WinLib or something
> like that?  If you're using EuViewer3 you dont need WinLib to create
> a window.  The returned ID is somewhat the same as that returned in
> WinLib, but if you need to create a special window that EzWindow wont
> allow you to create, use Window instead of EzWindow, but i think you
> should be able to use EzWindow just by changing the parameters.
> 
> Im not exactly sure what you want to do there though, perhaps you can
> clarify the question a little bit?  
> 
> 
> Take care,
> Al
> 
> And, good luck with your Euphoria programming!
> 
> My bumper sticker: "I brake for LED's"

Hello Al ,

To Clarify I would to create a plain window, no boarders ,no captions,
no titles,no scroll bars.  I don't care what .ew file is used to create it.
EzWindow would be fine. What parameters should I use?

Don Cole
A Bug is an un-documented feature.
A Feature is a documented Bug.

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

4. Re: euviewer3

don cole wrote:
> 
> Al Getz wrote:
> > 
> > don cole wrote:
> > > 
> > > 
> > > Al how can I change
> > > --Win =  
> > >   --  acreate( aWindow, "", 0, 0, 0, WinWidth, WinHeight,  WS_POPUP)
> > > --Use EzWindow to create the main window:
> > > MainAppWindow=EzWindow:Create(WS_EX_CONTROLPARENT,     --style Ex
> > >  0,-- OR({WS_VISIBLE,WS_OVERLAPPEDWINDOW}),--WS_VSCROLL,WS_HSCROLL,}),  
> > >  --style,
> > > scrollbars distract from pic!
> > >   MainWinBkColor,      --background color
> > >  " EuViewer",  --caption
> > >   0, 0,              --xpos, ypos
> > >   800, 500,            --width, height
> > >   0,                   --parent ID
> > >   0)                   --events (none yet)
> > > 
> > >     to
> > > 
> > > --winClasss
> > > Win =  
> > >     acreate( Window, "", 0, 0, 0, WinWidth, WinHeight,  WS_POPUP)
> > > 
> > >         or
> > > 
> > > --win32
> > > constant Window1 = createEx( Window, "Window1", 0, Default, Default, 400,
> > > 280,
> > > {WS_POPUP, WS_THICKFRAME}, 0 )
> > > 
> > > 
> > > Don Cole
> > > A Bug is an un-documented feature.
> > > A Feature is a documented Bug.
> > 
> > Hi Don,
> > 
> > Are you saying you want to create the main window using WinLib or something
> > like that?  If you're using EuViewer3 you dont need WinLib to create
> > a window.  The returned ID is somewhat the same as that returned in
> > WinLib, but if you need to create a special window that EzWindow wont
> > allow you to create, use Window instead of EzWindow, but i think you
> > should be able to use EzWindow just by changing the parameters.
> > 
> > Im not exactly sure what you want to do there though, perhaps you can
> > clarify the question a little bit?  
> > 
> > 
> > Take care,
> > Al
> > 
> > And, good luck with your Euphoria programming!
> > 
> > My bumper sticker: "I brake for LED's"
> 
> Hello Al ,
> 
> To Clarify I would to create a plain window, no boarders ,no captions,
> no titles,no scroll bars.  I don't care what .ew file is used to create it.
> EzWindow would be fine. What parameters should I use?
> 
> Don Cole
> A Bug is an un-documented feature.
> A Feature is a documented Bug.

Hi there Don,

Here's a quick example:

constant W2=EzWindow:Create(
  0,                     --style Ex
  WS_VISIBLE+WS_POPUP,   --style
  #FF00FF,               --background color (violet)
  "Window 2",            --caption (can be " " for no caption)
  20, 20,                --xpos, ypos
  300, 200,              --width, height
  0,                     --parent ID (none, or 'Desktop')
  0)                     --events (none yet)

The above creates a small violet window with no border,caption, or
system menu.

If you dont like making colors in hex yourself, you can use
WindowsColors.ew which defines lots of colors by name.  For example...


include WindowsColors.ew
constant W2=EzWindow:Create(
  0,                     --style Ex
  WS_VISIBLE+WS_POPUP,   --style
  DarkGoldenrod,         --background color (from WindowsColors.ew)
  "Window 2",            --caption (can be " " for no caption)
  20, 20,                --xpos, ypos
  300, 200,              --width, height
  0,                     --parent ID (none, or 'Desktop')
  0)                     --events (none yet)




I guess you're going 'full screen' with this window?  Is that it?


Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

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

5. Re: euviewer3

Al Getz wrote:

> 
> I guess you're going 'full screen' with this window?  Is that it?
> 
> 
Yes full screen and I do't need that other window I'm going use [+][-] keys
for speed. I found increments less than 1000 (1 sec.) don't make any noticeable
difference changing speeds. As far as larger pictures taking longer to load than
smaller pictures, I would like to work that factor into the formula. Maybe use
your task manager to load the pictures into a buffer so one is loading while
one is showing. 

Don Cole

A Bug is an un-documented feature.
A Feature is a documented Bug.

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

6. Re: euviewer3

don cole wrote:
> 
> Al Getz wrote:
> 
> > 
> > I guess you're going 'full screen' with this window?  Is that it?
> > 
> > 
> Yes full screen and I do't need that other window I'm going use [+][-] keys
> for speed. I found increments less than 1000 (1 sec.) don't make any
> noticeable
> difference changing speeds. As far as larger pictures taking longer to load
> than
> smaller pictures, I would like to work that factor into the formula. Maybe use
> your task manager to load the pictures into a buffer so one is loading while
> one is showing. 
> 
> Don Cole
> 
> A Bug is an un-documented feature.
> A Feature is a documented Bug.

Hi Don,

Oh yes, sounds like a good idea.  I meant to try that myself but never got
around to it :)

Im not sure if you're aware of this yet but...
there are two 'task managers' now ... mine and the built in, but it's not
quite built in yet until the next Euphoria version comes out, so strictly
speaking there's no built in task manager yet :)
Would be nice to cache pic's during idle time.

On my system, the same happens...larger pics take longer to load, but
i generally dont get ones that take too long though.


Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

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

Search



Quick Links

User menu

Not signed in.

Misc Menu