diff options
Diffstat (limited to 'PE')
-rw-r--r-- | PE/reinsert-res.h | 4 | ||||
-rw-r--r-- | PE/reinsert.cpp | 5 | ||||
-rw-r--r-- | PE/reinsert.rc | 10 |
3 files changed, 11 insertions, 8 deletions
diff --git a/PE/reinsert-res.h b/PE/reinsert-res.h index 49a5da7..41773fb 100644 --- a/PE/reinsert-res.h +++ b/PE/reinsert-res.h @@ -4,6 +4,8 @@ //
#define IDI_ICON 101
#define IDD_ABOUT 102
+#define IDC_LIST1 1001
+#define IDC_LIST 1001
// Next default values for new objects
//
@@ -11,7 +13,7 @@ #ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 103
#define _APS_NEXT_COMMAND_VALUE 40001
-#define _APS_NEXT_CONTROL_VALUE 1001
+#define _APS_NEXT_CONTROL_VALUE 1002
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
diff --git a/PE/reinsert.cpp b/PE/reinsert.cpp index 3a8244b..c44354d 100644 --- a/PE/reinsert.cpp +++ b/PE/reinsert.cpp @@ -12,6 +12,7 @@ BOOL CALLBACK AboutDlgProc(HWND hW, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
+ Base::printm(M_INFO, "AboutDlgProc: uMsg = %i (0x%x)\n", uMsg, uMsg);
switch(uMsg)
{
case WM_COMMAND:
@@ -33,10 +34,10 @@ virtual int startup() throw (GeneralException) { Handle * iw; cdutils * cd; - DialogBox(0, MAKEINTRESOURCE(IDD_ABOUT), GetActiveWindow(), AboutDlgProc); - verbosity = M_INFO; + DialogBox(0, MAKEINTRESOURCE(IDD_ABOUT), GetActiveWindow(), AboutDlgProc); + ir = new Input("PE1.bin"); iw = new Output("PE1.bin", 0, 0); cd = new cdutils(ir, iw); diff --git a/PE/reinsert.rc b/PE/reinsert.rc index b6975dc..38e482d 100644 --- a/PE/reinsert.rc +++ b/PE/reinsert.rc @@ -113,14 +113,14 @@ END // Dialog
//
-IDD_ABOUT DIALOGEX 0, 0, 186, 95
+IDD_ABOUT DIALOGEX 0, 0, 335, 223
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |
WS_SYSMENU
CAPTION "Dialog"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
- DEFPUSHBUTTON "OK",IDOK,129,7,50,14
- PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14
+ DEFPUSHBUTTON "OK",IDOK,278,7,50,14
+ PUSHBUTTON "Cancel",IDCANCEL,278,24,50,14
END
@@ -135,9 +135,9 @@ BEGIN IDD_ABOUT, DIALOG
BEGIN
LEFTMARGIN, 7
- RIGHTMARGIN, 179
+ RIGHTMARGIN, 328
TOPMARGIN, 7
- BOTTOMMARGIN, 88
+ BOTTOMMARGIN, 216
END
END
#endif // APSTUDIO_INVOKED
|