void InitializeNativeWindowProperties()override { // remove all native windows features if(window->GetNativeWindow()) { window->GetNativeWindow()->EnableCustomFrameMode(); } }
void maximumButton_Clicked(GuiGraphicsComposition* sender, GuiEventArgs& arguments) { if(window->GetNativeWindow()->GetSizeState()==INativeWindow::Restored) { window->GetNativeWindow()->ShowMaximized(); } else { window->GetNativeWindow()->ShowRestored(); } }
void closeButton_Clicked(GuiGraphicsComposition* sender, GuiEventArgs& arguments) { window->GetNativeWindow()->Hide(); }
void minimumButton_Clicked(GuiGraphicsComposition* sender, GuiEventArgs& arguments) { window->GetNativeWindow()->ShowMinimized(); }