Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

precomp.h

Go to the documentation of this file.
00001 #ifndef __CHARMAP_PRECOMP_H
00002 #define __CHARMAP_PRECOMP_H
00003 
00004 #define WIN32_LEAN_AND_MEAN
00005 #include <windows.h>
00006 #include <stdio.h>
00007 #include <stdlib.h>
00008 #include <commctrl.h>
00009 #include <richedit.h>
00010 #include "resource.h"
00011 
00012 #define SIZEOF(_v)  (sizeof(_v) / sizeof(*_v))
00013 
00014 #define XCELLS 20
00015 #define YCELLS 10
00016 #define XLARGE 45
00017 #define YLARGE 25
00018 
00019 #define FM_SETFONT  (WM_USER + 1)
00020 #define FM_GETCHAR  (WM_USER + 2)
00021 #define FM_SETCHAR  (WM_USER + 3)
00022 #define FM_GETHFONT (WM_USER + 4)
00023 
00024 extern HINSTANCE hInstance;
00025 
00026 typedef struct _CELL
00027 {
00028     RECT CellExt;
00029     RECT CellInt;
00030     BOOL bActive;
00031     BOOL bLarge;
00032     WCHAR ch;
00033 } CELL, *PCELL;
00034 
00035 typedef struct _MAP
00036 {
00037     HWND hMapWnd;
00038     HWND hParent;
00039     HWND hLrgWnd;
00040     SIZE ClientSize;
00041     SIZE CellSize;
00042     CELL Cells[YCELLS][XCELLS];
00043     PCELL pActiveCell;
00044     HFONT hFont;
00045     LOGFONTW CurrentFont;
00046     INT iYStart;
00047 } MAP, *PMAP;
00048 
00049 typedef struct {
00050     NMHDR hdr;
00051     WCHAR ch;
00052 } MAPNOTIFY, *LPMAPNOTIFY;
00053 
00054 
00055 LRESULT CALLBACK LrgCellWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
00056 
00057 VOID ShowAboutDlg(HWND hWndParent);
00058 
00059 BOOL RegisterMapClasses(HINSTANCE hInstance);
00060 VOID UnregisterMapClasses(HINSTANCE hInstance);
00061 
00062 #endif /* __CHARMAP_PRECOMP_H */

Generated on Thu Feb 9 04:38:50 2012 for ReactOS by doxygen 1.6.3

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.