[Classes] [Prev] [Next] [Methods]

CVerticalWireFrame

Methods Index

Heritage
Description
Usage
Public Methods

CVerticalWireFrame


Heritage

Superclass: CWireFrame

Subclasses: None


Description

CVerticalWireFrame is a class that overrides CWireFrame in order to implement special wire frame behavior: vertical-only dragging. This behavior is achieved by trapping all MouseMove events and fixing the horizontal position to a constant value.


Usage

Give a view a vertical wire frame as follows:

aView->SetWireFrame(new CVerticalWireFrame(aView));
aView->SetDragging(TRUE);

Public Methods

CVerticalWireFrame(CView *theOwner, 
CSubview* theGroupEnclosure = NULL);
virtual void MouseMove(CPoint theLocation,
short theButton = 0,
BOOLEAN isShiftKey = FALSE,
BOOLEAN isControlKey = FALSE);




[Classes] [Prev] [Next] [Methods]

support@xvt.com


Visit our online help desk for tech support

Copyright © 2009, Providence Software Solutions Inc. All rights reserved.