xtd - Reference Guide  0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
context_menu.h
Go to the documentation of this file.
1 #pragma once
5 #include "menu.h"
6 
8 namespace xtd {
10  namespace forms {
17  class forms_export_ context_menu : public menu {
18  public:
21 
23  ~context_menu();
25 
26  protected:
27  intptr_t create_menu_handle() override;
28  void destroy_menu_handle(intptr_t handle) override;
29  };
30  }
31 }
Represents a shortcut menu.
Definition: context_menu.h:17
void destroy_menu_handle(intptr_t handle) override
Destroy the handle to the Menu.
intptr_t create_menu_handle() override
Creates a new handle to the Menu.
context_menu()
Initialize context_menu class.
Represents the base functionality for all menus. Although tool_strip_drop_down and tool_strip_drop_do...
Definition: menu.h:32
#define forms_export_
Define shared library export.
Definition: forms_export.h:13
Contains xtd::forms::menu menu.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17