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

CHorizontalWireFrame

Methods Index

Heritage
Description
Usage
Public Methods

CHorizontalWireFrame


Heritage

Superclass: CWireFrame

Subclasses: None


Description

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


Usage

Give a view a horizontal wire frame as follows:

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

Public Methods

CHorizontalWireFrame(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.