#include <wx/minifram.h>

An example of mini frame can be seen in the dialogs sample using the "Mini frame" command of the "Generic dialogs" submenu.
Styles:
Public Member Functions | |
| ~wxMiniFrame () | |
| bool | Create (wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER, const wxString &name="frame") |
| wxMiniFrame () | |
| wxMiniFrame (wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER, const wxString &name="frame") | |
| wxMiniFrame::wxMiniFrame | ( | ) |
Constructor, creating the window.
| parent | The window parent. This may be NULL. If it is non-NULL, the frame will always be displayed on top of the parent window on Windows. | |
| id | The window identifier. It may take a value of -1 to indicate a default value. | |
| title | The caption to be displayed on the frame's title bar. | |
| pos | The window position. The value wxDefaultPosition indicates a default position, chosen by either the windowing system or wxWidgets, depending on platform. | |
| size | The window size. The value wxDefaultSize indicates a default size, chosen by either the windowing system or wxWidgets, depending on platform. | |
| style | The window style. See wxMiniFrame. | |
| name | The name of the window. This parameter is used to associate a name with the item, allowing the application user to set Motif resource values for individual windows. |
| wxMiniFrame::wxMiniFrame | ( | wxWindow * | parent, | |
| wxWindowID | id, | |||
| const wxString & | title, | |||
| const wxPoint & | pos = wxDefaultPosition, |
|||
| const wxSize & | size = wxDefaultSize, |
|||
| long | style = wxCAPTION|wxRESIZE_BORDER, |
|||
| const wxString & | name = "frame" | |||
| ) |
Constructor, creating the window.
| parent | The window parent. This may be NULL. If it is non-NULL, the frame will always be displayed on top of the parent window on Windows. | |
| id | The window identifier. It may take a value of -1 to indicate a default value. | |
| title | The caption to be displayed on the frame's title bar. | |
| pos | The window position. The value wxDefaultPosition indicates a default position, chosen by either the windowing system or wxWidgets, depending on platform. | |
| size | The window size. The value wxDefaultSize indicates a default size, chosen by either the windowing system or wxWidgets, depending on platform. | |
| style | The window style. See wxMiniFrame. | |
| name | The name of the window. This parameter is used to associate a name with the item, allowing the application user to set Motif resource values for individual windows. |
| wxMiniFrame::~wxMiniFrame | ( | ) |
Destructor. Destroys all child windows and menu bar if present.
| bool wxMiniFrame::Create | ( | wxWindow * | parent, | |
| wxWindowID | id, | |||
| const wxString & | title, | |||
| const wxPoint & | pos = wxDefaultPosition, |
|||
| const wxSize & | size = wxDefaultSize, |
|||
| long | style = wxCAPTION|wxRESIZE_BORDER, |
|||
| const wxString & | name = "frame" | |||
| ) |
Used in two-step frame construction. See wxMiniFrame() for further details.
Reimplemented from wxFrame.
|
[ top ] |