MatOCAD Logo

Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

wxResizeableControlCanvas Class Reference

Parent window class for wxResizableControl child windows. More...

#include <resizec.h>

Inherited by PnlFoglio.

Inheritance diagram for wxResizeableControlCanvas:

Inheritance graph
List of all members.

Public Member Functions

 wxResizeableControlCanvas ()
 wxResizeableControlCanvas (wxWindow *AParent, int AnId, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxPanelNameStr)
void OnChildWindowChange (wxCommandEvent &)
 Respond to child window notification.
void OnIdle (wxIdleEvent &)
 Update scroll range on idle.
void UpdateScrollRange ()
 Update scrollbars.

Private Attributes

bool m_scrollflag
 Flag for scroll status.

Detailed Description

Parent window class for wxResizableControl child windows.

This is a demo implementation that shows the typical operations that are necessary to support wxResizableControl child windows.

Definition at line 402 of file resizec.h.

Constructor & Destructor Documentation

wxResizeableControlCanvas::wxResizeableControlCanvas  )  [inline]


Definition at line 408 of file resizec.h.

wxResizeableControlCanvas::wxResizeableControlCanvas wxWindow *  AParent,
int  AnId,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = 0,
const wxString &  name = wxPanelNameStr


Definition at line 410 of file resizec.h.

Member Function Documentation

void wxResizeableControlCanvas::OnChildWindowChange wxCommandEvent &   ) 

Respond to child window notification.

Definition at line 942 of file resizec.cpp.

void wxResizeableControlCanvas::OnIdle wxIdleEvent &   ) 

Update scroll range on idle.

Definition at line 971 of file resizec.cpp.

References m_scrollflag, and UpdateScrollRange().

void wxResizeableControlCanvas::UpdateScrollRange  ) 

Update scrollbars.

Definition at line 947 of file resizec.cpp.

Referenced by OnIdle().

Member Data Documentation

bool wxResizeableControlCanvas::m_scrollflag [private]

Flag for scroll status.

Definition at line 405 of file resizec.h.

Referenced by OnIdle().

The documentation for this class was generated from the following files:


SourceForge Logo