xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
help_event_args.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/drawing/point>
6
#include <xtd/event_args>
7
9
namespace
xtd
{
11
namespace
forms
{
13
class
control
;
15
26
class
help_event_args
:
public
event_args
{
27
public
:
29
33
explicit
help_event_args
(
const
drawing::point
&
mouse_pos
) : mouse_pos_(
mouse_pos
) {}
35
37
help_event_args
(
const
help_event_args
&
control_event_args
) =
default
;
38
help_event_args
& operator =(
const
help_event_args
&
help_event_args
) =
default
;
40
42
47
bool
handled
() const noexcept {
return
handled_;}
51
void
handled
(
bool
handled
) {handled_ =
handled
;}
52
56
xtd::drawing::point
mouse_pos
() const noexcept {
return
mouse_pos_;}
58
59
private
:
60
bool
handled_ =
false
;
61
drawing::point
mouse_pos_;
62
};
63
}
64
}
xtd::event_args::event_args
event_args()=default
Initializes a new instance of the event_args class.
xtd::forms::control_event_args
Provides data for the xtd::forms::control::control_added and xtd::forms::control::control_removed eve...
Definition
control_event_args.hpp:27
xtd::forms::control
Defines the base class for controls, which are components with visual representation.
Definition
control.hpp:82
xtd::forms::help_event_args
Provides data for the xtd::forms::control::control_added and xtd::forms::control::control_removed eve...
Definition
help_event_args.hpp:26
xtd::forms::help_event_args::mouse_pos
xtd::drawing::point mouse_pos() const noexcept
Gets the screen coordinates of the mouse pointer.
Definition
help_event_args.hpp:56
xtd::forms::help_event_args::handled
void handled(bool handled)
Sets a value indicating whether the help event was handled.
Definition
help_event_args.hpp:51
xtd::forms::help_event_args::handled
bool handled() const noexcept
Gets a value indicating whether the help event was handled.
Definition
help_event_args.hpp:47
xtd::forms::help_event_args::help_event_args
help_event_args(const drawing::point &mouse_pos)
Initializes a new instance of the xtd::forms::help_event_args class.
Definition
help_event_args.hpp:33
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::drawing::point
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition
point.hpp:54
Generated on
for xtd by
Gammasoft
. All rights reserved.