We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f93f7fd commit d9c6188Copy full SHA for d9c6188
CMessageBox/CMessageBox.cpp
@@ -64,15 +64,13 @@ HRESULT CMessageBox::TDMessageBox(
64
tdmbInfo.lpCallbackData = (LONG_PTR)&properties.LNKAdminButtonIDs;
65
66
// Set Icons
67
- tdmbInfo.dwFlags |= TDF_USE_HICON_MAIN;
68
- tdmbInfo.hMainIcon = properties.mainIcon_HICON;
69
- /*if (properties.mainIcon_HICON != (HICON)NULL)
+ if (properties.mainIcon_HICON != (HICON)NULL)
70
{
71
tdmbInfo.dwFlags |= TDF_USE_HICON_MAIN;
72
tdmbInfo.hMainIcon = properties.mainIcon_HICON;
73
}
74
else
75
- tdmbInfo.pszMainIcon = properties.mainIcon_PCWSTR;*/
+ tdmbInfo.pszMainIcon = properties.mainIcon_PCWSTR;
76
77
if (properties.footerIcon_HICON != (HICON)NULL)
78
0 commit comments