user32: SCROLL_SetNCSbState() is not used anymore so remove it.

This commit is contained in:
Francois Gouget 2011-05-03 00:38:02 +02:00 committed by Alexandre Julliard
parent 7d460a4ea8
commit aaec50d44c
2 changed files with 0 additions and 28 deletions

View File

@ -179,8 +179,6 @@ extern void NC_GetSysPopupPos( HWND hwnd, RECT* rect ) DECLSPEC_HIDDEN;
/* scrollbar */
extern void SCROLL_DrawScrollBar( HWND hwnd, HDC hdc, INT nBar, BOOL arrows, BOOL interior ) DECLSPEC_HIDDEN;
extern void SCROLL_TrackScrollBar( HWND hwnd, INT scrollbar, POINT pt ) DECLSPEC_HIDDEN;
extern INT SCROLL_SetNCSbState( HWND hwnd, int vMin, int vMax, int vPos,
int hMin, int hMax, int hPos ) DECLSPEC_HIDDEN;
/* combo box */

View File

@ -1918,32 +1918,6 @@ BOOL WINAPI SetScrollRange(HWND hwnd, INT nBar, INT minVal, INT maxVal, BOOL bRe
}
/*************************************************************************
* SCROLL_SetNCSbState
*
* Updates both scrollbars at the same time. Used by MDI CalcChildScroll().
*/
INT SCROLL_SetNCSbState(HWND hwnd, int vMin, int vMax, int vPos,
int hMin, int hMax, int hPos)
{
SCROLLINFO vInfo, hInfo;
vInfo.cbSize = hInfo.cbSize = sizeof(SCROLLINFO);
vInfo.nMin = vMin;
vInfo.nMax = vMax;
vInfo.nPos = vPos;
hInfo.nMin = hMin;
hInfo.nMax = hMax;
hInfo.nPos = hPos;
vInfo.fMask = hInfo.fMask = SIF_RANGE | SIF_POS;
SCROLL_SetScrollInfo( hwnd, SB_VERT, &vInfo, TRUE );
SCROLL_SetScrollInfo( hwnd, SB_HORZ, &hInfo, TRUE );
return 0;
}
/*************************************************************************
* GetScrollRange (USER32.@)
*