forcing applications to fill the entire screen at startup

Hi:

I want my applications to fill he entire screen at start up. I have tried placing the following code into the function that defines the functionality for the application:

+ I Maximize 100 100 

and

+ I Maximize frame 

and

+ I Maximize True

but to no avail, the app still just fills up maybe 3/4 of the screen… and no more.

If anyone has any ideas, please let me know.
thanks,
Skender
PS-> anyone know a way to force applications to cover up the taskbar?

If you search the forums for ‘maximize’, you’ll see many solutions – or at least paste your full function you’re using, for it to be in any context. I know the maximize lines by themselves work just fine. :slight_smile:

You mean maximize over it?

– Thomas Adam

ya, maximize over the taskbar.

The code in context is below:

[code]
AddToFunc MakeVisible

  • I Raise
  • I Iconify off
  • I WindowShade off
  • I Focus
  • I Maximize frame
  • I GoToDesk 0[/code]

Thanks in advance,
Skender

Well, “Maximize 100 100” works here. You could try putting the application in question into a different (higher) layer than the taskbar:

Style foo Layer 0 8, ....

– Thomas Adam

the full function (including the one that calls the above ‘helper’ function) is below:

[code]
Key F23 A A FuncMyWarpToFoo
DestroyFunc FuncMyWarpToFoo
AddToFunc FuncMyWarpToFoo

  • I FocusOnWindow “foo”

    Helper function

    DestroyFunc FocusOnWindow
    AddToFunc FocusOnWindow

    • I Next ($$0, CirculateHit) Function MakeVisible
    • I TestRc (Match) Break

    Helper function

    AddToFunc MakeVisible
    + I Raise
    + I Iconify off
    + I WindowShade off
    + I Focus

    • I Maximize frame
    • I GoToDesk 0[/code]

Thanks again:
Skender

You may need to add ewmhiwa option to Maximize so that it fill completely the screen, and not only the space above the panel. I have this maximize function:

[code]DestroyFunc Fullscreen
AddToFunc Fullscreen

  • I WindowStyle !Borders
  • I Layer 0 10
  • I UpdateStyles
  • I Maximize ewmhiwa 100 100 true

DestroyFunc UnFullscreen
AddToFunc UnFullscreen

  • I WindowStyle Borders
  • I Layer 0 4
  • I UpdateStyles
  • I Maximize false
  • I Raise[/code]