ReactOS  0.4.12-dev-14-gd0c8636
selection.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CSelectionWindow
 

Functions

void ForceRefreshSelectionContents ()
 

Function Documentation

◆ ForceRefreshSelectionContents()

void ForceRefreshSelectionContents ( )

Definition at line 56 of file selection.cpp.

Referenced by endPaintingL(), CMainWindow::InsertSelectionFromHBITMAP(), CTextEditWindow::OnCommand(), CSelectionWindow::OnPaletteModelColorChanged(), CSelectionWindow::OnSelectionModelRefreshNeeded(), and CSelectionWindow::OnToolsModelSettingsChanged().

57 {
58  if (selectionWindow.IsWindowVisible())
59  {
60  selectionWindow.SendMessage(WM_LBUTTONDOWN, 0, MAKELPARAM(0, 0));
61  selectionWindow.SendMessage(WM_MOUSEMOVE, 0, MAKELPARAM(0, 0));
62  selectionWindow.SendMessage(WM_LBUTTONUP, 0, MAKELPARAM(0, 0));
63  }
64 }
#define WM_LBUTTONDOWN
Definition: winuser.h:1752
#define MAKELPARAM(l, h)
Definition: winuser.h:3915
#define WM_LBUTTONUP
Definition: winuser.h:1753
#define WM_MOUSEMOVE
Definition: winuser.h:1751
CSelectionWindow selectionWindow
Definition: main.cpp:70