-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathResource.h
More file actions
51 lines (42 loc) · 1.79 KB
/
Resource.h
File metadata and controls
51 lines (42 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#pragma once
// Resource identifiers from your .rc file
// Dialogs
#define IDD_MAIN 100
// Controls in Main Dialog
#define IDC_LIST 101
#define IDC_DETAILS 102
#define IDC_TABS 103
#define IDC_HEX_VIEW 104
#define IDC_ASCII_VIEW 105
#define IDC_UNICODE_VIEW 106
#define IDC_STATUS 107
#define IDC_IOCTL_INFO 108
#define IDC_FILTER 109
#define IDC_CLEAR 110
#define IDC_SAVE 111
#define IDC_COPY 112
#define IDC_GENERATE 113
#define IDC_APPLY 114
// Menu Items
#define IDM_SHOW_INPUT 200
#define IDM_SHOW_OUTPUT 201
#define IDM_SAVE_LOG 202
#define IDM_CLEAR_LOG 203
#define IDM_ABOUT 204
#define IDM_EXIT 205
// Menu Resource ID
#ifndef IDR_MENU
#define IDR_MENU 250 // Example value, ensure it's unique if manually defined
#endif
// Other static identifiers
#define IDC_STATIC -1 // Common practice for unassigned static controls
// Icon
#define IDI_APPICON 130
// Custom application messages
#define WM_APP_UPDATE_UI (WM_APP + 1)
#define WM_APP_HOOK_INITIALIZED (WM_APP + 2)
#define WM_APP_HOOK_ERROR (WM_APP + 3)
// Constants for status bar parts
#define SBPART_STATUS_TEXT 0 // General status messages
#define SBPART_RECORD_COUNT 2 // "Records: X"
#define SBPART_FILTER_STATUS 1 // "Filter: 0x..." or ""