Custom class name for SDK Launcher

Something that could be searched up without clashes and pulled up front.
This commit is contained in:
Kawe Mazidjatari 2023-07-31 23:26:34 +02:00
parent fb35782b9e
commit 5c05f91891
2 changed files with 4 additions and 1 deletions

View File

@ -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;

View File

@ -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