mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[STOBJECT] Change eject hardware dialog buttons from OK/Cancel to just OK. (#2493)
It's just an information dialog that needs one button, it's not actually doing different actions based on user input.
This commit is contained in:
parent
c1464a4030
commit
a5a725ae57
1 changed files with 2 additions and 2 deletions
|
@ -200,11 +200,11 @@ static void _ShowContextMenu(CSysTray * pSysTray)
|
|||
{
|
||||
WCHAR strInfo[128];
|
||||
swprintf(strInfo, L"Problem Ejecting %wS", g_strMenuSel);
|
||||
MessageBox(0, L"The device cannot be stopped right now! Try stopping it again later!", strInfo, MB_OKCANCEL | MB_ICONEXCLAMATION);
|
||||
MessageBox(0, L"The device cannot be stopped right now! Try stopping it again later!", strInfo, MB_OK | MB_ICONEXCLAMATION);
|
||||
}
|
||||
else
|
||||
{
|
||||
//MessageBox(0, L"Device ejected successfully!! You can safely remove the device now!", L"Safely Remove Hardware", MB_OKCANCEL | MB_ICONINFORMATION);
|
||||
//MessageBox(0, L"Device ejected successfully!! You can safely remove the device now!", L"Safely Remove Hardware", MB_OK | MB_ICONINFORMATION);
|
||||
g_IsRemoving = TRUE;
|
||||
g_devList.RemoveAt(id); /* thing is.. even after removing id at this point, the devnode_change occurs after some seconds of sucessful removal
|
||||
and since pendrive is still plugged in it gets enumerated, if problem number is not filtered.
|
||||
|
|
Loading…
Reference in a new issue