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

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

Major updates; timers, LVM, miscellaneous.

  • Property svn:eol-style set to CRLF
  • Property svn:keywords set to Author Date Id Revision
File size: 4.1 KB
Line 
1/* $Id: undoc.h 14 2000-12-09 19:19:42Z 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 * Some more OS/2 default menu items:
76 *
77 */
78
79 #define ID_WPMI_PASTE 0x2CB
80 #define ID_WPMI_SHOWICONVIEW 0x2CC
81 #define ID_WPMI_SHOWTREEVIEW 0x2CD
82 #define ID_WPMI_SHOWDETAILSVIEW 0x2CE
83
84 #define ID_WPMI_SORTBYNAME 0x1770
85 #define ID_WPMI_SORTBYEXTENSION 0x9D87
86 #define ID_WPMI_SORTBYTYPE 0x1771
87 #define ID_WPMI_SORTBYREALNAME 0x1777
88 #define ID_WPMI_SORTBYSIZE 0x1778
89 #define ID_WPMI_SORTBYWRITEDATE 0x1779
90 #define ID_WPMI_SORTBYACCESSDATE 0x177B
91 #define ID_WPMI_SORTBYCREATIONDATE 0x177D
92
93 #define ID_WPMI_ARRANGEFROMTOP 0x2DE
94 #define ID_WPMI_ARRANGEFROMLEFT 0x2DF
95 #define ID_WPMI_ARRANGEFROMRIGHT 0x2E0
96 #define ID_WPMI_ARRANGEFROMBOTTOM 0x2E1
97 #define ID_WPMI_ARRANGEPERIMETER 0x2E3
98 #define ID_WPMI_ARRANGEHORIZONTALLY 0x2E4
99 #define ID_WPMI_ARRANGEVERTICALLY 0x2E5
100
101 #define ID_WPM_LOCKINPLACE 0x2DA
102 #define ID_WPM_VIEW 0x68
103
104 #define ID_WPMI_FORMATDISK 0x7C
105 #define ID_WPMI_CHECKDISK 0x80
106 #define ID_WPMI_REFRESH 0x1F7
107
108 /*
109 * Return codes for wpConfirmObjectTitle:
110 * only def'd in the Warp 4 Toolkit
111 * (and partly in wpsystem.h).
112 */
113
114 #ifndef NAMECLASH_CANCEL
115 #define NAMECLASH_CANCEL 0
116 #endif
117 #ifndef NAMECLASH_NONE
118 #define NAMECLASH_NONE 1
119 #endif
120 #ifndef NAMECLASH_RENAME
121 #define NAMECLASH_RENAME 2
122 #endif
123 #ifndef NAMECLASH_REPLACE
124 #define NAMECLASH_REPLACE 8
125 #endif
126#endif
127
128#if __cplusplus
129}
130#endif
131
Note: See TracBrowser for help on using the repository browser.