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

VCF::Win32Dialog Class Reference

#include <Win32Dialog.h>

Inheritance diagram for VCF::Win32Dialog:

VCF::Win32Window VCF::DialogPeer VCF::AbstractWin32Component VCF::WindowPeer VCF::Interface VCF::Win32Object VCF::ControlPeer VCF::Interface VCF::ObjectWithEvents VCF::Interface VCF::Object List of all members.

Public Member Functions

 Win32Dialog ()
 default constructor used for showMessage calls
 Win32Dialog (Control *owner, Dialog *component)
virtual ~Win32Dialog ()
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 showMessage (const String &message, const String &caption)
virtual UIToolkit::ModalReturnType showMessage (const String &message, const String &caption, const int32 &messageButtons, const Dialog::MessageStyle &messageStyle)

Protected Member Functions

virtual LONG_PTR generateStyleForSetParent (VCF::Control *parent)

Protected Attributes

Controlowner_
DialogdialogComponent_

Constructor & Destructor Documentation

VCF::Win32Dialog::Win32Dialog  ) 
 

default constructor used for showMessage calls

VCF::Win32Dialog::Win32Dialog Control owner,
Dialog component
 

virtual VCF::Win32Dialog::~Win32Dialog  )  [virtual]
 


Member Function Documentation

virtual void VCF::Win32Dialog::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::Win32Dialog::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 LONG_PTR VCF::Win32Dialog::generateStyleForSetParent VCF::Control parent  )  [protected, virtual]
 

Reimplemented from VCF::Win32Window.

virtual bool VCF::Win32Dialog::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 UIToolkit::ModalReturnType VCF::Win32Dialog::showMessage const String message,
const String caption,
const int32 messageButtons,
const Dialog::MessageStyle messageStyle
[virtual]
 

Implements VCF::DialogPeer.

virtual void VCF::Win32Dialog::showMessage const String message,
const String caption
[virtual]
 

Implements VCF::DialogPeer.


Member Data Documentation

Dialog* VCF::Win32Dialog::dialogComponent_ [protected]
 

Control* VCF::Win32Dialog::owner_ [protected]
 

Reimplemented from VCF::Win32Window.


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