22 styles::DialogBoxStyles(),
24 dialogBoxFunctionName,
29 IComponentVisibility(handle),
31 isShowDialogUsed(false),
32 windowWithUserFocus(nullptr)
42 unique_lock<recursive_mutex> lock(instance.componentsMutex);
51 for (
const auto& component : instance.components)
53 if (component ==
this)
59 EnableWindow(component->getHandle(),
false);
71 unique_lock<recursive_mutex> lock(instance.componentsMutex);
73 for (
const auto& component : instance.components)
75 if (component ==
this)
81 EnableWindow(component->getHandle(),
true);
Base class for all windows that has children windows.
void setExitMode(exitMode mode)
static messageBoxResponse createMessageBox(const std::wstring &text, const std::wstring &title, messageBoxType type, BaseComposite *parent=nullptr, bool helpButton=false)
BaseDialogBox(const std::wstring &className, const std::wstring &title, const utility::ComponentSettings &settings, const std::string &dialogBoxFunctionName="", const std::string &moduleName="", uint16_t smallIconResource=NULL, uint16_t largeIconResource=NULL)
Singleton with GUIFramework settings and some functionality.
static GUIFramework & get()
Singleton instance access.
Provides runMainLoop for top level window.
int runMainLoop(const std::vector< uint32_t > ®isteredHotkeyIds={})
Process messages. Must be called after initialization.
All settings for windows.