Skip to content

Instantly share code, notes, and snippets.

@Appendme
Created September 11, 2019 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Appendme/9ba0fa4f978cca772f4ab9feaf1ead98 to your computer and use it in GitHub Desktop.
Save Appendme/9ba0fa4f978cca772f4ab9feaf1ead98 to your computer and use it in GitHub Desktop.
m_ui->CreateControl(
m_form,
m_category,
String(L"UserBox"),
nullptr,
IID_IAIMPUIGroupBox,
reinterpret_cast<void**>(&m_userBox));
m_userBox->SetPlacement({
ualTop, {}, {}, {0, 0, 120, 120 } });
m_ui->CreateControl(
m_form,
m_userBox,
String(L"ButtonAuth"),
nullptr,
IID_IAIMPUIButton,
reinterpret_cast<void**>(&m_authButton));
m_authButton->SetPlacement({
ualRight, { 0, 0, 0, 0}, {}, {0, 0, 100, 25} });
m_authButton->SetPlacementConstraints({ 25, 100, 25, 100 });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment