#ifndef __CHARMAP_PRECOMP_H
#define __CHARMAP_PRECOMP_H
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
-#include <windows.h>
#include <commctrl.h>
+#include <richedit.h>
#include "resource.h"
+#define SIZEOF(_v) (sizeof(_v) / sizeof(*_v))
+
#define XCELLS 20
#define YCELLS 10
#define XLARGE 45
#define YLARGE 25
-#define FM_SETFONT (WM_USER + 1)
-#define FM_GETCHAR (WM_USER + 2)
-#define FM_SETCHAR (WM_USER + 3)
+#define FM_SETFONT (WM_USER + 1)
+#define FM_GETCHAR (WM_USER + 2)
+#define FM_SETCHAR (WM_USER + 3)
+#define FM_GETHFONT (WM_USER + 4)
extern HINSTANCE hInstance;