ReactOS  0.4.13-dev-257-gfabbd7c
imgarea.cpp File Reference
#include "precomp.h"
#include "dialogs.h"
Include dependency graph for imgarea.cpp:

Go to the source code of this file.


void updateCanvasAndScrollbars ()

Function Documentation

◆ updateCanvasAndScrollbars()

void updateCanvasAndScrollbars ( )

Definition at line 20 of file imgarea.cpp.

21 {
22  selectionWindow.ShowWindow(SW_HIDE);
24  scrollboxWindow.Invalidate(TRUE);
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:958
#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:828
CSelectionWindow selectionWindow
Definition: main.cpp:70

Referenced by CImgAreaWindow::OnImageModelDimensionsChanged().