Win32 - Hex Editor - fixed a bug introduced that caused the Hex Editor to have no initial window size

This commit is contained in:
adelikat 2009-02-21 23:54:05 +00:00
parent 659f0b48db
commit 8855f51233
1 changed files with 3 additions and 2 deletions

View File

@ -120,7 +120,7 @@ int TableFileLoaded;
int MemView_wndx, MemView_wndy;
int MemFind_wndx, MemFind_wndy;
int MemViewSizeX=0,MemViewSizeY=0;
int MemViewSizeX=625,MemViewSizeY=242;
static RECT newMemViewRect;
char chartable[256];
@ -846,7 +846,7 @@ LRESULT CALLBACK MemViewCallB(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
SCROLLINFO si;
int x, y, i, j;
int tempAddy;
RECT wrect;
const int MemFontWidth = debugSystem->fixedFontWidth;
const int MemFontHeight = debugSystem->fixedFontHeight;
@ -870,6 +870,7 @@ LRESULT CALLBACK MemViewCallB(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
case WM_CREATE:
SetWindowPos(hwnd,0,MemView_wndx,MemView_wndy,MemViewSizeX,MemViewSizeY,SWP_NOZORDER|SWP_NOOWNERZORDER);
// ################################## Start of SP CODE ###########################
debuggerWasActive = 1;
// ################################## End of SP CODE ###########################