Beispiel #1
0
void
setImgXYRes(int x, int y)
{
    if ((imgXRes != x) || (imgYRes != y))
    {
        imgXRes = x;
        imgYRes = y;
        updateCanvasAndScrollbars();
    }
}
Beispiel #2
0
LRESULT CImgAreaWindow::OnImageModelDimensionsChanged(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
    updateCanvasAndScrollbars();
    return 0;
}