win32 - Hex Editor - ask before removing all bookmarks
This commit is contained in:
parent
26d249ed91
commit
2a1a564b3c
|
@ -1,3 +1,4 @@
|
||||||
|
22-sept-2010 - adelikat - win32 - Hex Editor - ask before removing all bookmarks
|
||||||
04-sept-2010 - adelikat - Win32 - Ramwatch - fix displaying of 2 byte values
|
04-sept-2010 - adelikat - Win32 - Ramwatch - fix displaying of 2 byte values
|
||||||
26-aug-2010 - mart0258 - W32 - fix crash when re-opening debugging window
|
26-aug-2010 - mart0258 - W32 - fix crash when re-opening debugging window
|
||||||
20-aug-2010 - adelikat - Win32 - Display movie name at the top of the main window
|
20-aug-2010 - adelikat - Win32 - Display movie name at the top of the main window
|
||||||
|
|
|
@ -966,7 +966,6 @@ LRESULT CALLBACK MemViewCallB(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
|
||||||
SCROLLINFO si;
|
SCROLLINFO si;
|
||||||
int x, y, i, j;
|
int x, y, i, j;
|
||||||
int tempAddy;
|
int tempAddy;
|
||||||
|
|
||||||
const int MemFontWidth = debugSystem->fixedFontWidth;
|
const int MemFontWidth = debugSystem->fixedFontWidth;
|
||||||
const int MemFontHeight = debugSystem->fixedFontHeight + HexRowHeightBorder;
|
const int MemFontHeight = debugSystem->fixedFontHeight + HexRowHeightBorder;
|
||||||
|
|
||||||
|
@ -1626,8 +1625,15 @@ LRESULT CALLBACK MemViewCallB(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
|
||||||
|
|
||||||
// ################################## Start of SP CODE ###########################
|
// ################################## Start of SP CODE ###########################
|
||||||
case MENU_MV_BOOKMARKS_RM_ALL:
|
case MENU_MV_BOOKMARKS_RM_ALL:
|
||||||
|
//TODO: only ask if there is 1 or more bookmarks
|
||||||
|
if (nextBookmark)
|
||||||
|
{
|
||||||
|
if (MessageBox(hwnd, "Remove All Bookmarks?", "Bookmarks", MB_YESNO) == IDYES)
|
||||||
|
{
|
||||||
removeAllBookmarks(GetSubMenu(GetMenu(hwnd), 3));
|
removeAllBookmarks(GetSubMenu(GetMenu(hwnd), 3));
|
||||||
UpdateColorTable();
|
UpdateColorTable();
|
||||||
|
}
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
case MENU_MV_HELP:
|
case MENU_MV_HELP:
|
||||||
|
|
Loading…
Reference in New Issue