Changeset 3936

Show
Ignore:
Timestamp:
2005年10月29日 03時08分50秒 (3 years ago)
Author:
horiguti
Message:

Prevent the title bar from overlapping with the task bar at the top of
the screen on creating frame. See ticket:212.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.1/src/ChangeLog.Meadow

    r3875 r3936  
     12005-10-29  Kyotaro HORIGUCHI  <horiguti@meadowy.org> 
     2 
     3        * mw32fns.c (mw32m_create_frame_window): Prevent the title bar 
     4        from overlapping with the task bar at the top of the screen on 
     5        creating frame. See ticket:212. 
     6 
    172005-09-16  Kyotaro HORIGUCHI  <horiguti@meadowy.org> 
    28 
  • branches/2.1/src/mw32fns.c

    r3830 r3936  
    28182818{ 
    28192819  HWND hwnd; 
     2820  RECT rc; 
     2821 
     2822  /* Prevent the title bar from overlapping with the task bar at the 
     2823     top of the screen on creating frame. */ 
     2824  hwnd = FindWindow (TEXT ("Shell_TrayWnd"), NULL); 
     2825  if (hwnd 
     2826      && GetWindowRect (hwnd, &rc) && rc.top <= 0 
     2827      && rc.bottom > f->output_data.mw32->top_pos) 
     2828    f->output_data.mw32->top_pos = rc.bottom; 
    28202829 
    28212830  hwnd = CreateWindowEx (f->output_data.mw32->dwStyleEx,