MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / IsOkToResetConfig

Method IsOkToResetConfig

source/Configuration/PropertySheetHelper.cpp:480–494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478}
479
480bool CPropertySheetHelper::IsOkToResetConfig(HWND hWnd)
481{
482 if (g_nAppMode == MODE_LOGO)
483 return true;
484
485 if (MessageBox(hWnd,
486 "Resetting configuration to the default values whilst the machine is being emulated "
487 "could result in loss of unsaved work, or corruption of floppy or hard disk images.\n\n"
488 "Are you sure you want to do this?",
489 "Reset Configuration",
490 MB_ICONEXCLAMATION | MB_OKCANCEL | MB_SETFOREGROUND) == IDCANCEL)
491 return false;
492
493 return true;
494}
495
496bool CPropertySheetHelper::HardwareConfigChanged(HWND hWnd)
497{

Callers 2

DlgProcInternalMethod · 0.80
DlgProcInternalMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected