Verify order selection through real window controls and modal replacement
This commit is contained in:
1 parent
a1c65119a2
commit
13b4665ed2
4 files changed
+89
-14
No files matched your search
@@ -1878,7 +1878,7 @@ void manage_orders_at_cell(HWND window, settlement::GridPosition cell) {
|
||||
if (offset != 0 || more) AppendMenuW(menu, MF_SEPARATOR, 0, nullptr);
|
||||
if (offset != 0) AppendMenuW(menu, MF_STRING, previous_page, L"← Предыдущие заказы");
|
||||
if (more) AppendMenuW(menu, MF_STRING, next_page, L"Следующие заказы →");
|
||||
const auto selected = static_cast<UINT>(TrackPopupMenu(menu, TPM_RETURNCMD | TPM_NONOTIFY |
|
||||
const auto selected = static_cast<UINT>(TrackPopupMenu(menu, TPM_RETURNCMD |
|
||||
TPM_LEFTALIGN | TPM_TOPALIGN | TPM_RIGHTBUTTON, cursor.x, cursor.y, 0, window, nullptr));
|
||||
DestroyMenu(menu);
|
||||
if (!current_context()) {
|
||||
|
||||
Reference in new issue
Block a user