Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::Win32Button Class Reference

#include <Win32Button.h>

Inheritance diagram for VCF::Win32Button:

VCF::AbstractWin32Component VCF::ButtonPeer VCF::Win32Object VCF::ControlPeer VCF::Interface VCF::ObjectWithCallbacks VCF::Interface VCF::Object List of all members.

Public Member Functions

 Win32Button (CommandButton *component)
virtual void create (Control *owningControl)
 This is called to actually create any neccessary windowing system resources specific to a new control (or widget/window/etc) instance for the platform.
virtual ~Win32Button ()
virtual ImagegetImage ()
virtual void setImage (Image *image)
virtual ButtonState getState ()
virtual CreateParams createParams ()
 called before the create window is called.
virtual bool handleEventMessages (UINT message, WPARAM wParam, LPARAM lParam, LRESULT &wndProcResult, WNDPROC defaultWndProc=NULL)
 returns true if no further handling is required, otherwise returns false, which means the rest of the handling needs to be done by the default wnd proc.

Constructor & Destructor Documentation

VCF::Win32Button::Win32Button CommandButton component  ) 
 

virtual VCF::Win32Button::~Win32Button  )  [virtual]
 


Member Function Documentation

virtual void VCF::Win32Button::create Control owningControl  )  [virtual]
 

This is called to actually create any neccessary windowing system resources specific to a new control (or widget/window/etc) instance for the platform.

create() must be called by the containing VCF::Control subclass, typically in the classes constructor, after retreiving the new peer instance from the appropriate UIToolkit::createXXX() call.

Reimplemented from VCF::AbstractWin32Component.

virtual CreateParams VCF::Win32Button::createParams  )  [virtual]
 

called before the create window is called.

Overide this to change the style and style ex parameters. Returns a pair, the pair.first is the style parameter, the pair.second is the style ex paramater.

Reimplemented from VCF::Win32Object.

virtual Image* VCF::Win32Button::getImage  )  [virtual]
 

Implements VCF::ButtonPeer.

virtual ButtonState VCF::Win32Button::getState  )  [virtual]
 

Implements VCF::ButtonPeer.

virtual bool VCF::Win32Button::handleEventMessages UINT  message,
WPARAM  wParam,
LPARAM  lParam,
LRESULT &  wndProcResult,
WNDPROC  defaultWndProc = NULL
[virtual]
 

returns true if no further handling is required, otherwise returns false, which means the rest of the handling needs to be done by the default wnd proc.

Reimplemented from VCF::AbstractWin32Component.

virtual void VCF::Win32Button::setImage Image image  )  [virtual]
 

Implements VCF::ButtonPeer.


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information