Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions ResizableLib/ResizableLayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,13 @@ void CResizableLayout::MakeResizable(LPCREATESTRUCT lpCreateStruct) const
*/
void CResizableLayout::HandleNcCalcSize(BOOL bAfterDefault, LPNCCALCSIZE_PARAMS lpncsp, LRESULT &lResult)
{
#ifdef DISABLE_ELIMINATE_FLICKERING
// 3-Feb-09: Disable help eliminate flickering, because of e.g. VISTA redraw problems.
// Paolo posted that it is not really necessary (only on old systems with slow graphic cards for redrawing/anti flickering)
UNREFERENCED_PARAMETER( bAfterDefault );
UNREFERENCED_PARAMETER( lpncsp );
UNREFERENCED_PARAMETER( lResult );
#else
// prevent useless complication when size is not changing
// prevent recursion when resetting the window region (see below)
if ((lpncsp->lppos->flags & SWP_NOSIZE)
Expand Down