source: trunk/include/helpers/undoc.h@ 74

Last change on this file since 74 was 41, checked in by umoeller, 24 years ago

Updated timers.

  • Property svn:eol-style set to CRLF
  • Property svn:keywords set to Author Date Id Revision
File size: 4.2 KB
Line 
1
2/*
3 *@@sourcefile undoc.h:
4 * various OS/2 declarations which are either undocumented
5 * or only in the Warp 4 toolkit headers.
6 * This file does not correspond to any .C code file.
7 *
8 * Note: Version numbering in this file relates to XWorkplace version
9 * numbering.
10 *
11 *@@include "undoc.h" // Note: Always include this last!!!
12 */
13
14/* Copyright (C) 1997-2000 Ulrich M”ller.
15 * This file is part of the "XWorkplace helpers" source package.
16 * This is free software; you can redistribute it and/or modify
17 * it under the terms of the GNU General Public License as published
18 * by the Free Software Foundation, in version 2 as it comes in the
19 * "COPYING" file of the XWorkplace main distribution.
20 * This program is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
24 */
25
26#if __cplusplus
27extern "C" {
28#endif
29
30#ifndef UNDOC_HEADER_INCLUDED
31 #define UNDOC_HEADER_INCLUDED
32
33 /*
34 * HK_PREACCEL:
35 * additional undocumented PM hook type,
36 * for pre-accelerator table hooks
37 * (see xwphook.c for details);
38 * this definition taken out of the
39 * ProgramCommander/2 source (thanks,
40 * Roman Stangl).
41 */
42
43 #define HK_PREACCEL 17
44
45 /*
46 * Notebook button style (Warp 4 only):
47 *
48 */
49
50 #ifndef BS_NOTEBOOKBUTTON
51 #define BS_NOTEBOOKBUTTON 8L
52 #endif
53
54 /*
55 * Original WPS sort criteria flags;:
56 * these appear to be the column indices into
57 * folder Details views.
58 */
59
60 #define WPSORTKEY_REALNAME 0x00000005
61 #define WPSORTKEY_SIZE 0x00000006
62 #define WPSORTKEY_WRITEDATE 0x00000007
63 #define WPSORTKEY_ACCESSDATE 0x00000009
64 #define WPSORTKEY_CREATIONDATE 0x0000000B
65 // except for the following two, of which I have
66 // no freaking idea how the WPS implements these;
67 // probably some really ugly internal kludge to
68 // which I have no access
69 #define WPSORTKEY_NAME 0xFFFFFFFE
70 #define WPSORTKEY_TYPE 0xFFFFFFFF
71
72 /*
73 * WPS object styles
74 * V0.9.7 (2000-12-10) [umoeller]
75 */
76
77 #ifndef OBJSTYLE_LOCKEDINPLACE
78 #define OBJSTYLE_LOCKEDINPLACE 0x00020000
79 #endif
80
81 /*
82 * Some more OS/2 default menu items:
83 *
84 */
85
86 #define ID_WPMI_PASTE 0x2CB
87 #define ID_WPMI_SHOWICONVIEW 0x2CC
88 #define ID_WPMI_SHOWTREEVIEW 0x2CD
89 #define ID_WPMI_SHOWDETAILSVIEW 0x2CE
90
91 #define ID_WPMI_SORTBYNAME 0x1770
92 #define ID_WPMI_SORTBYEXTENSION 0x9D87
93 #define ID_WPMI_SORTBYTYPE 0x1771
94 #define ID_WPMI_SORTBYREALNAME 0x1777
95 #define ID_WPMI_SORTBYSIZE 0x1778
96 #define ID_WPMI_SORTBYWRITEDATE 0x1779
97 #define ID_WPMI_SORTBYACCESSDATE 0x177B
98 #define ID_WPMI_SORTBYCREATIONDATE 0x177D
99
100 #define ID_WPMI_ARRANGEFROMTOP 0x2DE
101 #define ID_WPMI_ARRANGEFROMLEFT 0x2DF
102 #define ID_WPMI_ARRANGEFROMRIGHT 0x2E0
103 #define ID_WPMI_ARRANGEFROMBOTTOM 0x2E1
104 #define ID_WPMI_ARRANGEPERIMETER 0x2E3
105 #define ID_WPMI_ARRANGEHORIZONTALLY 0x2E4
106 #define ID_WPMI_ARRANGEVERTICALLY 0x2E5
107
108 #define ID_WPM_LOCKINPLACE 0x2DA
109 #define ID_WPM_VIEW 0x68
110
111 #define ID_WPMI_FORMATDISK 0x7C
112 #define ID_WPMI_CHECKDISK 0x80
113 #define ID_WPMI_REFRESH 0x1F7
114
115 /*
116 * Return codes for wpConfirmObjectTitle:
117 * only def'd in the Warp 4 Toolkit
118 * (and partly in wpsystem.h).
119 */
120
121 #ifndef NAMECLASH_CANCEL
122 #define NAMECLASH_CANCEL 0
123 #endif
124 #ifndef NAMECLASH_NONE
125 #define NAMECLASH_NONE 1
126 #endif
127 #ifndef NAMECLASH_RENAME
128 #define NAMECLASH_RENAME 2
129 #endif
130 #ifndef NAMECLASH_REPLACE
131 #define NAMECLASH_REPLACE 8
132 #endif
133#endif
134
135#if __cplusplus
136}
137#endif
138
Note: See TracBrowser for help on using the repository browser.