Пример #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);
}