#include <window.h>
Inheritance diagram for ui_extension::window:

Public Member Functions | |
| virtual HWND | create_or_transfer_window (HWND wnd_parent, const window_host_ptr &p_host, const ui_helpers::window_position_t &p_position=ui_helpers::window_position_null)=0 |
| Create or transfer extension window. | |
| virtual void | destroy_window ()=0 |
| Destroys the extension window. | |
| virtual void | get_category (pfc::string_base &out) const =0 |
| Gets the category of the extension. | |
| virtual bool | get_description (pfc::string_base &out) const |
| Gets the description of the extension. | |
| virtual const bool | get_is_single_instance () const =0 |
| Gets whether the panel is single instance or not. | |
| virtual bool | get_prefer_multiple_instances () const |
| Gets whther the panel prefers to be created in multiple instances. | |
| virtual bool | get_short_name (pfc::string_base &out) const |
| Gets the short, presumably more user-friendly than the name returned by get_name, name of the panel. | |
| virtual void | get_size_limits (size_limit_t &p_out) const |
| Gets size limits of the window. | |
| virtual unsigned | get_type () const =0 |
| Gets the type of the extension. | |
| virtual HWND | get_wnd () const =0 |
| Gets extension window handle. | |
| virtual bool | is_available (const window_host_ptr &p_host) const =0 |
| Get availability of the extension. | |
Static Public Member Functions | |
| static bool | create_by_guid (const GUID &guid, window_ptr &p_out) |
| Creates extension by GUID. | |
| static HWND | g_on_tab (HWND wnd_focus) |
| Helper function. Activates next or previous window. | |
Public Attributes | |
| window | |
|
||||||||||||
|
Creates extension by GUID.
|
|
||||||||||||||||
|
Create or transfer extension window. Create your window here. In the case of single instance panels, if your window is already created, you must (in the same order):
Other rules you should follow are:
|
|
|
Helper function. Activates next or previous window.
|
|
|
Gets the category of the extension. Categories you may use are "Toolbars", "Panels", "Splitters", "Playlist views" and "Visualisations"
|
|
|
Gets the description of the extension.
|
|
|
Gets whether the panel is single instance or not.
|
|
|
Gets whther the panel prefers to be created in multiple instances. For example, a spacer panel.
|
|
|
Gets the short, presumably more user-friendly than the name returned by get_name, name of the panel.
|
|
|
Gets size limits of the window. Override if you like, or just handle WM_GETMINMAXINFO.
|
|
|
Gets the type of the extension.
|
|
|
Gets extension window handle.
|
|
|
Get availability of the extension.
This method is called before create_or_transfer() to test, if this call will be legal. If this instance is already hosted, it should check whether the given host's GUID equals its current host's GUID, and should return
Extensions that support multiple instances can generally return
|
1.4.6-NO