예제 #1
0
void ClientToScreen(HWND hWnd, LPRECT lpRect)
{
    ASSERT(::IsWindow(hWnd));
    ::ClientToScreen(hWnd, (LPPOINT)lpRect);
    ::ClientToScreen(hWnd, ((LPPOINT)lpRect)+1);
    if (GetExStyle(hWnd) & WS_EX_LAYOUTRTL)
        SwapLeftRight(lpRect);
}
예제 #2
0
	void SwapLeftRight() { SwapLeftRight(LPRECT(this)); }
예제 #3
0
void WRectangle::SwapLeftRight()
{
	SwapLeftRight(this);
}