__pColorPicker = std::move(pColorHadler);
- r = __pColorPicker->ShowPopup();
+ int modalResult = 0;
+ r = __pColorPicker->ShowAndWait(modalResult);
SysTryCatch(NID_WEB_CTRL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
if (__pColorPicker)
__pDatePicker = std::move(pInputPicker);
- r = __pDatePicker->ShowPopup();
+ int modalResult = 0;
+ r = __pDatePicker->ShowAndWait(modalResult);
SysTryCatch(NID_WEB_CTRL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
if (__pDatePicker)