Lines Matching refs:swpDesktop
127 SWP swpDesktop, swp;
129 WinQueryWindowPos(HWND_DESKTOP, &swpDesktop);
134 if (x+cx>swpDesktop.cx)
135 x = swpDesktop.cx - cx;
140 if (y+cy>swpDesktop.cy)
141 y = swpDesktop.cy - cy;
148 if (x+swp.cx>swpDesktop.cx)
149 x = swpDesktop.cx - swp.cx;
154 if (y+swp.cy>swpDesktop.cy)
155 y = swpDesktop.cy - swp.cy;
164 if (x+cx>swpDesktop.cx)
165 x = swpDesktop.cx - cx;
170 if (y+cy>swpDesktop.cy)
171 y = swpDesktop.cy - cy;