xtd 0.2.0
Loading...
Searching...
No Matches
xtd::forms::native::status_bar Class Referencefinal
Inheritance diagram for xtd::forms::native::status_bar:
xtd::static_object

Definition

Contains status bar native API.

Namespace
xtd::forms::native
Library
xtd.forms.native
Warning
Internal use only

Protected Static Methods

static intptr add_status_bar_panel (intptr status_bar, const xtd::string &text, const xtd::string &tool_tip_text, const xtd::drawing::image &image, int32 alignment, int32 auto_size, int32 border_style, int32 min_width, int32 width)
 Adds status bar panel.
 
static intptr add_status_bar_control (intptr status_bar, intptr control, const xtd::string &text)
 Adds status bar control.
 
static bool set_system_status_bar (intptr control, intptr status_bar)
 Sets the status_bar that is displayed in the form.
 
static bool sizing_grip ()
 Gets a value indicating whether OS displays a sizing grip.
 
static xtd::string sizing_grip_cursor_name ()
 Gets the cursor name used by sizing grip.
 
static void update_status_bar_item (intptr status_bar, intptr handle, int32 border_style, const xtd::string &text, const xtd::string &tool_tip_text, const xtd::drawing::image &image, bool visible, int32 width, bool stretchable)
 Updates status bar item.
 

Member Function Documentation

◆ add_status_bar_panel()

static intptr xtd::forms::native::status_bar::add_status_bar_panel ( intptr  status_bar,
const xtd::string text,
const xtd::string tool_tip_text,
const xtd::drawing::image image,
int32  alignment,
int32  auto_size,
int32  border_style,
int32  min_width,
int32  width 
)
staticprotected

Adds status bar panel.

Parameters
status_barThe status bar that contains the panel.
textThe panel text.
tool_tip_textThe tool tip text.
imageThe panel image.
visibletrue if panel is visible; otherwise false.
widthThe panel width.
stretchabletrue if panel is stretchable; otherwise false.
Warning
Internal use only

◆ add_status_bar_control()

static intptr xtd::forms::native::status_bar::add_status_bar_control ( intptr  status_bar,
intptr  control,
const xtd::string text 
)
staticprotected

Adds status bar control.

Parameters
status_barThe tool bar that contains the control.
controlThe control handle.
textThe control text.
Warning
Internal use only

◆ set_system_status_bar()

static bool xtd::forms::native::status_bar::set_system_status_bar ( intptr  control,
intptr  status_bar 
)
staticprotected

Sets the status_bar that is displayed in the form.

Parameters
controlControl window handle.
status_barA tool bar handle that represents the status bar to display in the form.
Warning
Internal use only

◆ sizing_grip()

static bool xtd::forms::native::status_bar::sizing_grip ( )
staticprotected

Gets a value indicating whether OS displays a sizing grip.

Returns
true if OS displays a sizing grip; otherwise, false.
Warning
Internal use only

◆ sizing_grip_cursor_name()

static xtd::string xtd::forms::native::status_bar::sizing_grip_cursor_name ( )
staticprotected

Gets the cursor name used by sizing grip.

Returns
The cursor name used by sizing grip.
Warning
Internal use only

◆ update_status_bar_item()

static void xtd::forms::native::status_bar::update_status_bar_item ( intptr  status_bar,
intptr  handle,
int32  border_style,
const xtd::string text,
const xtd::string tool_tip_text,
const xtd::drawing::image image,
bool  visible,
int32  width,
bool  stretchable 
)
staticprotected

Updates status bar item.

Parameters
tool_barThe status bar that contains the item.
handleThe status bar item handle.
textThe panel text.
tool_tip_textThe tool tip text.
imageThe panel image.
visibletrue if panel is visible; otherwise false.
widthThe panel width.
visibletrue if panel is stretchable; otherwise false.
Warning
Internal use only

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