diff --git a/r5dev/thirdparty/cppnet/cppkore/Form.cpp b/r5dev/thirdparty/cppnet/cppkore/Form.cpp index 16f4858b..fc1d9c6f 100644 --- a/r5dev/thirdparty/cppnet/cppkore/Form.cpp +++ b/r5dev/thirdparty/cppnet/cppkore/Form.cpp @@ -556,7 +556,7 @@ namespace Forms { auto Cp = ContainerControl::GetCreateParams(); - Cp.ClassName = "APPWINDOW"; + Cp.ClassName = FORM_DEFAULT_CLASS_NAME; if (this->_Opacity < 255) Cp.ExStyle |= WS_EX_LAYERED; diff --git a/r5dev/thirdparty/cppnet/cppkore/Form.h b/r5dev/thirdparty/cppnet/cppkore/Form.h index 32d6f267..c7459818 100644 --- a/r5dev/thirdparty/cppnet/cppkore/Form.h +++ b/r5dev/thirdparty/cppnet/cppkore/Form.h @@ -15,6 +15,9 @@ #include "FormClosingEventArgs.h" #include "PaintFrameEventArgs.h" +// Default class name used for creating windows +#define FORM_DEFAULT_CLASS_NAME "SDKLauncher001" + namespace Forms { class Form : public ContainerControl