File: wxlisp.h

package info (click to toggle)
xlispstat 3.52.0-3
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 7,472 kB
  • ctags: 12,480
  • sloc: ansic: 89,534; lisp: 21,690; sh: 1,525; makefile: 520; csh: 1
file content (61 lines) | stat: -rw-r--r-- 1,622 bytes parent folder | download
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
52
53
54
55
56
57
58
59
60
61
#define IDM_ABOUT	10
#define IDM_NEWPOINTS	11
#define IDM_NEWLINES	12
#define IDM_CLOSE	13
#define IDM_EXIT	14
#define IDM_TOPLEVEL    15

#define IDM_UNDO	20
#define IDM_CUT		21
#define	IDM_COPY	22
#define IDM_PASTE	23
#define IDM_CLEAR	24
#define IDM_COPYPASTE	25

#define IDM_TILE	30
#define IDM_CASCADE	31
#define	IDM_ARRANGE	32
#define	IDM_CLOSEALL	33

#define IDC_EDIT	50
#define IDC_FILENAME	51
#define IDC_EDITNAME	52
#define IDC_FILES	53
#define IDC_PATH	54
#define IDC_LISTBOX	55

#define IDC_SHOWWINDOW	60
#define IDC_HIDEWINDOW	61
#define IDC_DESTROY     62

#ifndef VK_C
#define VK_C 0x43
#endif

#define IDM_FIRSTCHILD	100

#ifndef SetWindowStyle
#define SetWindowStyle(w,s) SetWindowLong(w, GWL_STYLE, s)
#endif
#define MDIDestroyWindow(c,w) SendMessage(c, WM_MDIDESTROY, (WPARAM) w, 0)
#define MDICreateWindow(c,s) \
  ((HWND) SendMessage(hWndClient, WM_MDICREATE, \
                      0, (LONG) (LPMDICREATESTRUCT) s))
#define MDIRestoreWindow(c,w) SendMessage(c, WM_MDIRESTORE, (WPARAM) w, 0)
#define MDIActivateWindow(c,w) SendMessage(c, WM_MDIACTIVATE, (WPARAM) w, 0)
#ifdef WIN32
#define MDIGetActiveWindow(c) \
  ((HWND) SendMessage(hWndClient, WM_MDIGETACTIVE, 0, 0))
#else
#define MDIGetActiveWindow(c) \
  ((HWND) LOWORD(SendMessage(hWndClient, WM_MDIGETACTIVE, 0, 0)))
#endif /* WIN32 */
#define XLSDestroyWindow(w) SendMessage(w, WM_COMMAND, IDC_DESTROY, 0)

extern void ExitXLS(void);
extern void malloc_cleanup(void);
extern void MSWResetGraphics(void);
extern void MSWGraphCleanup(void);
extern void MSWResetMenus(void);
extern void MSWResetDialogs(void);
extern void MSWDLLCleanup(void);