Skip to content

Latest commit

 

History

History
153 lines (57 loc) · 1.86 KB

PyCDockContext.md

File metadata and controls

153 lines (57 loc) · 1.86 KB

PyCDockContext

PyCDockContext Object

A class which encapsulates an MFC CDockContext object

Methods

Properties

  • x,y ptLast

  • left, top, right, bottom rectLast

  • cx, cy sizeLast

  • int bDitherLast

  • left, top, right, bottom rectDragHorz

  • left, top, right, bottom rectDragVert

  • left, top, right, bottom rectFrameDragHorz

  • left, top, right, bottom rectFrameDragVert

  • int dwDockStyle

    allowable dock styles for bar

  • int dwOverDockStyle

    style of dock that rect is over

  • int dwStyle

    style of control bar

  • int bFlip

    if shift key is down

  • int bForceFrame

    if ctrl key is down

CDC* m_pDC; // where to draw during drag

  • int bDragging

  • int nHitTest

  • int uMRUDockID

  • left, top, right, bottom rectMRUDockPos

  • int dwMRUFloatStyle

  • x,y ptMRUFloatPos

    Sentinel

int = EndDrag()

PyCDockContext.EndResize

int = EndResize()

PyCDockContext.StartDrag

int = StartDrag(pt)

Parameters

  • pt : int, int

PyCDockContext.StartResize

int = StartResize(hittest, pt

)

Parameters

  • hittest : int

  • pt : int, int

PyCDockContext.ToggleDocking

int = ToggleDocking()