Skip to content

Instantly share code, notes, and snippets.

@Appendme
Created September 11, 2019 11:36
Embed
What would you like to do?
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