--- scroll.c Tue Nov 6 13:24:30 2001 +++ scroll.c.old Tue Nov 6 13:22:54 2001 @@ -157,13 +157,7 @@ { case SB_HORZ: infoPtr = (SCROLLBAR_INFO *)wndPtr->pHScroll; break; case SB_VERT: infoPtr = (SCROLLBAR_INFO *)wndPtr->pVScroll; break; - case SB_CTL: { - HGLOBAL hmem; - hmem = wndPtr->wExtra[0] ; - infoPtr = GlobalLock(hmem); - GlobalUnlock(hmem); - } - break; + case SB_CTL: infoPtr = (SCROLLBAR_INFO *)wndPtr->wExtra; break; default: WIN_ReleaseWndPtr( wndPtr ); return NULL;