Lines Matching refs:siFrame
145 SIZE /*siBorder,*/ siFrame, siButton, siScroll; in WinPrev_OnDraw() local
163 siFrame.cx = GetSystemMetrics(SM_CXFRAME); in WinPrev_OnDraw()
164 if (siFrame.cx > 0) in WinPrev_OnDraw()
166 siFrame.cx = RescaleCX(pData, siFrame.cx); in WinPrev_OnDraw()
167 siFrame.cx = max(1, siFrame.cx); in WinPrev_OnDraw()
169 siFrame.cy = GetSystemMetrics(SM_CYFRAME); in WinPrev_OnDraw()
170 if (siFrame.cy > 0) in WinPrev_OnDraw()
172 siFrame.cy = RescaleCY(pData, siFrame.cy); in WinPrev_OnDraw()
173 siFrame.cy = max(1, siFrame.cy); in WinPrev_OnDraw()
243 resize.cx = (siFrame.cx > 0 ? 1 + siFrame.cx : 0); in WinPrev_OnDraw()
244 resize.cy = (siFrame.cy > 0 ? 1 + siFrame.cy : 0); in WinPrev_OnDraw()
286 if (siFrame.cx > 0) in WinPrev_OnDraw()
288 SetRect(&fRect, rcWin.left, rcWin.top, rcWin.left + siFrame.cx, rcWin.bottom); in WinPrev_OnDraw()
290 SetRect(&fRect, rcWin.right - siFrame.cx, rcWin.top, rcWin.right, rcWin.bottom); in WinPrev_OnDraw()
293 InflateRect(&rcWin, -siFrame.cx, 0); in WinPrev_OnDraw()
295 if (siFrame.cy > 0) in WinPrev_OnDraw()
297 SetRect(&fRect, rcWin.left, rcWin.top, rcWin.right, rcWin.top + siFrame.cy); in WinPrev_OnDraw()
299 SetRect(&fRect, rcWin.left, rcWin.bottom - siFrame.cy, rcWin.right, rcWin.bottom); in WinPrev_OnDraw()
302 InflateRect(&rcWin, 0, -siFrame.cy); in WinPrev_OnDraw()
306 if (siFrame.cx > 0 || siFrame.cy > 0) in WinPrev_OnDraw()
312 InflateRect(&rcWin, (siFrame.cx > 0 ? -1 : 0), (siFrame.cy > 0 ? -1 : 0)); in WinPrev_OnDraw()