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

Last change on this file since 37 was 15, checked in by umoeller, 25 years ago

Coupla bugfixes.

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