-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwproc.hpp
24 lines (17 loc) · 994 Bytes
/
wproc.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef WPROC_HPP_
#define WPROC_HPP_
#include "main.hpp"
namespace wproc {
// Window procedure for the main window.
LRESULT CALLBACK wndProc(HWND hWnd, unsigned int uMsg, WPARAM wParam, LPARAM lParam);
// Hook window procedure for the program editor to support the undo feature.
LRESULT CALLBACK editorProc(HWND hWnd, unsigned uMsg, WPARAM wParam, LPARAM lParam);
// Hook window procedure for the input editor to support the undo feature.
LRESULT CALLBACK inputProc(HWND hWnd, unsigned uMsg, WPARAM wParam, LPARAM lParam);
// Hook window procedure for the edit control in the memory view options dialog.
// This procedure translates top row character keys to numbers according to the keyboard layout of SHARP Brain devices.
LRESULT CALLBACK memViewDlgEditor(HWND hWnd, unsigned uMsg, WPARAM wParam, LPARAM lParam);
// Window procedure for the memory view options dialog.
INT_PTR CALLBACK memViewProc(HWND hDlg, unsigned uMsg, WPARAM wParam, LPARAM lParam);
} // namespace wproc
#endif