Skip to content

Commit

Permalink
Merge pull request #1603 from beru/revert_CDlgFuncList_resize_flickering
Browse files Browse the repository at this point in the history
Revert "アウトライン解析ダイアログボックスをドッキング時にスプリッターをドラッグしてリサイズするとウィンドウの描画がちらつく問題を解消"
  • Loading branch information
beru authored Mar 22, 2021
2 parents 4a64e53 + 7855928 commit 7e65eab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions sakura_core/outline/CDlgFuncList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2197,6 +2197,10 @@ BOOL CDlgFuncList::OnSize( WPARAM wParam, LPARAM lParam )
for( int i = 0 ; i < _countof(anchorList); i++ ){
HWND hwndCtrl = GetItemHwnd(anchorList[i].id);
ResizeItem( hwndCtrl, m_ptDefaultSizeClient, ptNew, m_rcItems[i], anchorList[i].anchor, (anchorList[i].anchor != ANCHOR_ALL));
// 2013.2.6 aroka ちらつき防止用の試行錯誤
if(anchorList[i].anchor == ANCHOR_ALL){
::UpdateWindow( hwndCtrl );
}
}

// if( IsDocking() )
Expand Down
1 change: 0 additions & 1 deletion sakura_core/sakura_rc.rc
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ END

IDD_FUNCLIST DIALOG 0, 0, 240, 289
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_COMPOSITED
CAPTION "x"
FONT 9, "MS Pゴシック"
BEGIN
Expand Down

0 comments on commit 7e65eab

Please sign in to comment.