Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#233 Fullscreen doesn't correctly work in Windows Scite

Cosmetic
closed-accepted
Neil Hodgson
SciTE (619)
5
2005-02-17
2004-09-09
Anonymous
No

Hallo,
Fullscreen doesn't correctly work in Windows Scite when
full.screen.hides.menu=0 in SciTEGlobal.properties.

In the SciTEWin::FullScreenToggle() function
the int topStuff variable is assigned the wrong values.

int topStuff = ::GetSystemMetrics(SM_CYMENU)
+ ::GetSystemMetrics(SM_CYEDGE);

if (props.GetInt("full.screen.hides.menu"))
topStuff += ::GetSystemMetrics(SM_CYCAPTION);

Changing this code to:

int topStuff = ::GetSystemMetrics(SM_CYCAPTION)
+ ::GetSystemMetrics(SM_CYEDGE);

if (props.GetInt("full.screen.hides.menu"))
topStuff += ::GetSystemMetrics(SM_CYMENU);

Solved the problem.

Discussion

  • Neil Hodgson
    Neil Hodgson
    2004-09-12

    Logged In: YES
    user_id=12579

    OK, committed.

     
  • Neil Hodgson
    Neil Hodgson
    2004-09-12

    • assigned_to: nobody --> nyamatongwe
    • status: open --> open-accepted
     
  • Neil Hodgson
    Neil Hodgson
    2005-02-17

    • status: open-accepted --> closed-accepted