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

NButton

Methods Index

Heritage
Description
Usage
Public Methods
Constructor, Destructor, and Initializer Methods
Mouse Hit Methods

NButton


Heritage

Superclass: CNativeView

Subclasses: None


Description

NButton objects are push buttons that have the look-and-feel of buttons of the native window manager.


Usage

Create and initialize an NButton object with an enclosing CView. When the user clicks on a button, it generates a DoCommand (itsCommand) event. However, this class does not use the command set by SetDoubleCommand.


Public Methods

Constructor, Destructor, and Initializer Methods

NButton(CSubview* theEnclosure, 
const CRect& theRegion,
const CStringRW theTitle = NULLString,
long theAttributes = 0L);
NButton(CSubview* theEnclosure, long theContainerId, long theId);
NButton(const NButton& theButton);
NButton& operator= (const NButton& theButton);
virtual ~NButton();
BOOLEAN IButton(const CStringRW theTitle		= NULLString,
BOOLEAN isEnabled = TRUE,
long theCommand = NULLcmd,
BOOLEAN isVisible = TRUE,
GLUETYPE theGlue = NULLSTICKY);

Mouse Hit Methods

virtual void DoHit(CONTROL_INFO theControlInfo);
virtual void Key(const CKey& theKey);
virtual BOOLEAN ClassCanGetKeyFocus(void) const;


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

support@xvt.com


Visit our online help desk for tech support

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