...
This commit is contained in:
parent
99636689d7
commit
7901de120a
|
@ -1534,7 +1534,7 @@ LRESULT CALLBACK RamSearchProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lPara
|
||||||
CompactAddrs();
|
CompactAddrs();
|
||||||
}
|
}
|
||||||
void init_list_box(HWND Box, const char* Strs[], int numColumns, int *columnWidths);
|
void init_list_box(HWND Box, const char* Strs[], int numColumns, int *columnWidths);
|
||||||
init_list_box(GetDlgItem(hDlg,IDC_RAMLIST),names,5,widths);
|
init_list_box(GetDlgItem(hDlg,IDC_RAMLIST),names,4,widths);
|
||||||
//ListView_SetItemCount(GetDlgItem(hDlg,IDC_RAMLIST),ResultCount);
|
//ListView_SetItemCount(GetDlgItem(hDlg,IDC_RAMLIST),ResultCount);
|
||||||
if (!noMisalign) SendDlgItemMessage(hDlg, IDC_MISALIGN, BM_SETCHECK, BST_CHECKED, 0);
|
if (!noMisalign) SendDlgItemMessage(hDlg, IDC_MISALIGN, BM_SETCHECK, BST_CHECKED, 0);
|
||||||
//if (littleEndian) SendDlgItemMessage(hDlg, IDC_ENDIAN, BM_SETCHECK, BST_CHECKED, 0);
|
//if (littleEndian) SendDlgItemMessage(hDlg, IDC_ENDIAN, BM_SETCHECK, BST_CHECKED, 0);
|
||||||
|
@ -2183,10 +2183,7 @@ void init_list_box(HWND Box, const char* Strs[], int numColumns, int *columnWidt
|
||||||
Col.mask = LVCF_FMT | LVCF_ORDER | LVCF_SUBITEM | LVCF_TEXT | LVCF_WIDTH;
|
Col.mask = LVCF_FMT | LVCF_ORDER | LVCF_SUBITEM | LVCF_TEXT | LVCF_WIDTH;
|
||||||
for (int i = 0; i < numColumns; i++)
|
for (int i = 0; i < numColumns; i++)
|
||||||
{
|
{
|
||||||
if (i == 1)
|
Col.fmt = !strcmp(Strs[i], "Value") || !strcmp(Strs[i], "Previous") || !strcmp(Strs[i], "Changes") ? LVCFMT_RIGHT : LVCFMT_LEFT;
|
||||||
Col.fmt = LVCFMT_RIGHT;
|
|
||||||
else
|
|
||||||
Col.fmt = LVCFMT_LEFT;
|
|
||||||
Col.iOrder = i;
|
Col.iOrder = i;
|
||||||
Col.iSubItem = i;
|
Col.iSubItem = i;
|
||||||
Col.pszText = (LPSTR)(Strs[i]);
|
Col.pszText = (LPSTR)(Strs[i]);
|
||||||
|
|
|
@ -2146,7 +2146,7 @@ CAPTION " RAM Watch"
|
||||||
MENU RAMWATCH_MENU
|
MENU RAMWATCH_MENU
|
||||||
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
||||||
BEGIN
|
BEGIN
|
||||||
CONTROL "",IDC_WATCHLIST,"SysListView32",LVS_REPORT | LVS_SHOWSELALWAYS | LVS_OWNERDATA | WS_BORDER | WS_TABSTOP,9,9,210,279,WS_EX_CLIENTEDGE
|
CONTROL "",IDC_WATCHLIST,"SysListView32",LVS_REPORT | LVS_SHOWSELALWAYS | LVS_OWNERDATA | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,9,9,210,279,WS_EX_CLIENTEDGE
|
||||||
PUSHBUTTON "Edit",IDC_C_WATCH_EDIT,226,66,34,14
|
PUSHBUTTON "Edit",IDC_C_WATCH_EDIT,226,66,34,14
|
||||||
PUSHBUTTON "Remove",IDC_C_WATCH_REMOVE,226,83,34,14
|
PUSHBUTTON "Remove",IDC_C_WATCH_REMOVE,226,83,34,14
|
||||||
PUSHBUTTON "New",IDC_C_WATCH,226,100,34,14
|
PUSHBUTTON "New",IDC_C_WATCH,226,100,34,14
|
||||||
|
@ -2349,6 +2349,10 @@ BEGIN
|
||||||
BEGIN
|
BEGIN
|
||||||
END
|
END
|
||||||
|
|
||||||
|
"GGCONV", DIALOG
|
||||||
|
BEGIN
|
||||||
|
END
|
||||||
|
|
||||||
"MONITOR", DIALOG
|
"MONITOR", DIALOG
|
||||||
BEGIN
|
BEGIN
|
||||||
LEFTMARGIN, 7
|
LEFTMARGIN, 7
|
||||||
|
@ -2490,6 +2494,11 @@ BEGIN
|
||||||
0
|
0
|
||||||
END
|
END
|
||||||
|
|
||||||
|
GGCONV AFX_DIALOG_LAYOUT
|
||||||
|
BEGIN
|
||||||
|
0
|
||||||
|
END
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue