Change tooltip for Pause button if paused
This commit is contained in:
@@ -43,8 +43,11 @@ ToolBarProcedure(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
|
|||||||
uintptr_t idButton = lpttt->hdr.idFrom;
|
uintptr_t idButton = lpttt->hdr.idFrom;
|
||||||
|
|
||||||
switch (idButton) {
|
switch (idButton) {
|
||||||
case IDM_ACTION_PAUSE:
|
case IDM_ACTION_PAUSE:
|
||||||
lpttt->lpszText = MAKEINTRESOURCE(IDS_2155);
|
if (dopause)
|
||||||
|
lpttt->lpszText = MAKEINTRESOURCE(IDS_2154);
|
||||||
|
else
|
||||||
|
lpttt->lpszText = MAKEINTRESOURCE(IDS_2155);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case IDM_ACTION_RESET_CAD:
|
case IDM_ACTION_RESET_CAD:
|
||||||
|
|||||||
Reference in New Issue
Block a user