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

VCF::Win32TransparentWindowPeer Class Reference

#include <Win32TransparentWindowPeer.h>

Inheritance diagram for VCF::Win32TransparentWindowPeer:

VCF::Win32Window VCF::TransparentWindowPeer VCF::AbstractWin32Component VCF::WindowPeer VCF::Interface VCF::Win32Object VCF::ControlPeer VCF::Interface VCF::ObjectWithCallbacks VCF::Interface VCF::Object List of all members.

Public Member Functions

 Win32TransparentWindowPeer (Frame *window)
virtual ~Win32TransparentWindowPeer ()
virtual void setAlpha (const double &alphaValue)
virtual double getAlpha ()
virtual void setAlphaImage (Image *img)
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 Win32Object::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.
virtual void setVisible (const bool &visible)
 shows or hides the component.

Protected Attributes

double alpha_
bool hasAlphaImg_
COLORREF alphaColor_

Constructor & Destructor Documentation

VCF::Win32TransparentWindowPeer::Win32TransparentWindowPeer Frame window  ) 
 

virtual VCF::Win32TransparentWindowPeer::~Win32TransparentWindowPeer  )  [virtual]
 


Member Function Documentation

virtual void VCF::Win32TransparentWindowPeer::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::Win32Window.

virtual Win32Object::CreateParams VCF::Win32TransparentWindowPeer::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::Win32Window.

virtual double VCF::Win32TransparentWindowPeer::getAlpha  )  [virtual]
 

Implements VCF::TransparentWindowPeer.

virtual bool VCF::Win32TransparentWindowPeer::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::Win32Window.

virtual void VCF::Win32TransparentWindowPeer::setAlpha const double &  alphaValue  )  [virtual]
 

Implements VCF::TransparentWindowPeer.

virtual void VCF::Win32TransparentWindowPeer::setAlphaImage Image img  )  [virtual]
 

Implements VCF::TransparentWindowPeer.

virtual void VCF::Win32TransparentWindowPeer::setVisible const bool &  visible  )  [virtual]
 

shows or hides the component.

This does NOT close the component (if invoked on a frame based component ).

Reimplemented from VCF::Win32Window.


Member Data Documentation

double VCF::Win32TransparentWindowPeer::alpha_ [protected]
 

COLORREF VCF::Win32TransparentWindowPeer::alphaColor_ [protected]
 

bool VCF::Win32TransparentWindowPeer::hasAlphaImg_ [protected]
 


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