7 #include <xtd/drawing/point> 42 explicit context_menu(
const std::vector<menu_item_ref>& menu_items);
46 explicit context_menu(
const std::initializer_list<const_menu_item_ref>& menu_items);
64 intptr create_menu_handle()
override;
65 void destroy_menu_handle(
intptr handle)
override;
67 void on_item_removed(
size_t pos,
menu_item_ref item)
override;
72 bool on_item_click(
intptr menu_id);
intmax_t intptr
Represent a pointer or a handle.
Definition: types.h:151
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition: point.h:54
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Contains xtd::forms::message class.
The left or right CTRL modifier key.