Page Menu
Home
desp's stash
Search
Configure Global Search
Log In
Files
F1094403
PickDllGui.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
PickDllGui.h
View Options
#pragma once
#include
<windows.h>
#include
"resource.h"
// WTL
#include
<atlbase.h> // base ATL classes
#include
<atlapp.h> // base WTL classes
#include
<atlwin.h> // ATL GUI classes
#include
<atlmisc.h> // WTL utility classes like CString
#include
<atlcrack.h> // WTL enhanced msg map macros
#include
<atlctrls.h> // WTL controls
#include
<vector>
#include
"ProcessAccessHelp.h"
class
PickDllGui
:
public
CDialogImpl
<
PickDllGui
>
{
public
:
enum
{
IDD
=
IDD_DLG_PICKDLL
};
BEGIN_MSG_MAP
(
PickDllGui
)
MSG_WM_INITDIALOG
(
OnInitDialog
)
MSG_WM_GETMINMAXINFO
(
OnGetMinMaxInfo
)
MSG_WM_SIZING
(
OnSizing
)
MSG_WM_SIZE
(
OnSize
)
COMMAND_ID_HANDLER_EX
(
IDC_BTN_PICKDLL_OK
,
OnOK
)
COMMAND_ID_HANDLER_EX
(
IDC_BTN_PICKDLL_CANCEL
,
OnCancel
)
COMMAND_ID_HANDLER_EX
(
IDCANCEL
,
OnCancel
)
END_MSG_MAP
()
PickDllGui
(
std
::
vector
<
ModuleInfo
>
&
moduleList
);
ModuleInfo
*
getSelectedModule
()
const
{
return
selectedModule
;
}
protected
:
// Variables
std
::
vector
<
ModuleInfo
>
&
moduleList
;
ModuleInfo
*
selectedModule
;
// Controls
CListViewCtrl
ListDLLSelect
;
enum
ListColumns
{
COL_NAME
=
0
,
COL_IMAGEBASE
,
COL_IMAGESIZE
,
COL_PATH
};
CRect
minDlgSize
;
CSize
sizeOffset
;
// Handles
CIcon
hIcon
;
protected
:
// Message handlers
BOOL
OnInitDialog
(
CWindow
wndFocus
,
LPARAM
lInitParam
);
void
OnGetMinMaxInfo
(
MINMAXINFO
*
lpMMI
);
void
OnSizing
(
UINT
fwSide
,
RECT
*
pRect
);
void
OnSize
(
UINT
nType
,
CSize
size
);
void
OnOK
(
UINT
uNotifyCode
,
int
nID
,
CWindow
wndCtl
);
void
OnCancel
(
UINT
uNotifyCode
,
int
nID
,
CWindow
wndCtl
);
// GUI functions
void
addColumnsToModuleList
(
CListViewCtrl
&
list
);
void
displayModuleList
(
CListViewCtrl
&
list
);
};
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Nov 28, 5:42 AM (1 d, 8 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
0c/e8/e7ee9f77fbf726b9f0def9b66032
Attached To
rSCY Scylla
Event Timeline
Log In to Comment