Skip to content

Commit

Permalink
This time it's a better border for both mintty and putty.
Browse files Browse the repository at this point in the history
  • Loading branch information
peaches committed May 20, 2012
1 parent 03290e4 commit 93b4700
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions SuperPutty/ctlApplicationPanel.cs
Expand Up @@ -230,11 +230,7 @@ protected override void OnVisibleChanged(EventArgs e)

// set window parameters (how it's displayed)
int lStyle = WinAPI.GetWindowLong(m_AppWin, WinAPI.GWL_STYLE);
lStyle &= ~(WinAPI.WindowStyles.WS_BORDER
| WinAPI.WindowStyles.WS_THICKFRAME
| WinAPI.WindowStyles.WS_MINIMIZE
| WinAPI.WindowStyles.WS_MAXIMIZE
| WinAPI.WindowStyles.WS_SYSMENU);
lStyle &= ~(WinAPI.WindowStyles.WS_CAPTION | WinAPI.WindowStyles.WS_THICKFRAME);
WinAPI.SetWindowLong(m_AppWin, WinAPI.GWL_STYLE, lStyle);

// Move the child so it's located over the parent
Expand Down

0 comments on commit 93b4700

Please sign in to comment.