ReactOS  0.4.11-dev-946-g431643b
imgarea.cpp File Reference
#include "precomp.h"
#include "dialogs.h"
Include dependency graph for imgarea.cpp:

Go to the source code of this file.

Functions

void updateCanvasAndScrollbars ()
 

Function Documentation

◆ updateCanvasAndScrollbars()

void updateCanvasAndScrollbars ( )

Definition at line 20 of file imgarea.cpp.

Referenced by CImgAreaWindow::OnImageModelDimensionsChanged().

21 {
22  selectionWindow.ShowWindow(SW_HIDE);
24  scrollboxWindow.Invalidate(TRUE);
26 
27  scrollboxWindow.SetScrollPos(SB_HORZ, 0, TRUE);
28  scrollboxWindow.SetScrollPos(SB_VERT, 0, TRUE);
29 }
ToolsModel toolsModel
Definition: main.cpp:18
#define TRUE
Definition: types.h:120
BOOL MoveWindow(int x, int y, int nWidth, int nHeight, BOOL bRepaint=TRUE)
Definition: atlwin.h:949
#define SB_VERT
Definition: winuser.h:553
#define SW_HIDE
Definition: winuser.h:762
#define SB_HORZ
Definition: winuser.h:552
int GetZoom()
Definition: toolsmodel.cpp:104
CImgAreaWindow imageArea
Definition: main.cpp:71
int GetWidth()
Definition: history.cpp:195
int GetHeight()
Definition: history.cpp:200
ImageModel imageModel
Definition: main.cpp:32
CScrollboxWindow scrollboxWindow
Definition: main.cpp:68
BOOL Invalidate(BOOL bErase=TRUE)
Definition: atlwin.h:819
CSelectionWindow selectionWindow
Definition: main.cpp:70