home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: WPS_PM / WPS_PM.zip / xfld085s.zip / helpers / undoc.h < prev    next >
C/C++ Source or Header  |  1999-01-17  |  3KB  |  86 lines

  1.  
  2. /*
  3.  * 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.  *      Required #include's before including this header:
  9.  *      --  None. This file is standard C code.
  10.  *
  11.  *      Copyright (C) 1997-99 Ulrich Möller.
  12.  *      This file is part of the XFolder source package.
  13.  *      XFolder is free software; you can redistribute it and/or modify
  14.  *      it under the terms of the GNU General Public License as published
  15.  *      by the Free Software Foundation, in version 2 as it comes in the
  16.  *      "COPYING" file of the XFolder main distribution.
  17.  *      This program is distributed in the hope that it will be useful,
  18.  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
  19.  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  20.  *      GNU General Public License for more details.
  21.  */
  22.  
  23. #if __cplusplus
  24. extern "C" {
  25. #endif
  26.  
  27. #ifndef UNDOC_HEADER_INCLUDED
  28.     #define UNDOC_HEADER_INCLUDED
  29.  
  30.     // notebook button style (Warp 4 only)
  31.     #ifndef BS_NOTEBOOKBUTTON
  32.         #define BS_NOTEBOOKBUTTON          8L
  33.     #endif
  34.  
  35.     // original WPS sort criteria flags;
  36.     // these appear to be the column indices into
  37.     // folder Details views
  38.     #define WPSORTKEY_REALNAME      0x00000005
  39.     #define WPSORTKEY_SIZE          0x00000006
  40.     #define WPSORTKEY_WRITEDATE     0x00000007
  41.     #define WPSORTKEY_ACCESSDATE    0x00000009
  42.     #define WPSORTKEY_CREATIONDATE  0x0000000B
  43.     // except for the following two, of which I have
  44.     // no freaking idea how the WPS implements these;
  45.     // probably some really ugly internal kludge to
  46.     // which I have no access
  47.     #define WPSORTKEY_NAME          0xFFFFFFFE
  48.     #define WPSORTKEY_TYPE          0xFFFFFFFF
  49.  
  50.     // some more OS/2 default menu items
  51.     #define ID_WPMI_PASTE                  0x2CB
  52.     #define ID_WPMI_SHOWICONVIEW           0x2CC
  53.     #define ID_WPMI_SHOWTREEVIEW           0x2CD
  54.     #define ID_WPMI_SHOWDETAILSVIEW        0x2CE
  55.  
  56.     #define ID_WPMI_SORTBYNAME             0x1770
  57.     #define ID_WPMI_SORTBYEXTENSION        0x9D87
  58.     #define ID_WPMI_SORTBYTYPE             0x1771
  59.     #define ID_WPMI_SORTBYREALNAME         0x1777
  60.     #define ID_WPMI_SORTBYSIZE             0x1778
  61.     #define ID_WPMI_SORTBYWRITEDATE        0x1779
  62.     #define ID_WPMI_SORTBYACCESSDATE       0x177B
  63.     #define ID_WPMI_SORTBYCREATIONDATE     0x177D
  64.  
  65.     #define ID_WPMI_ARRANGEFROMTOP         0x2DE
  66.     #define ID_WPMI_ARRANGEFROMLEFT        0x2DF
  67.     #define ID_WPMI_ARRANGEFROMRIGHT       0x2E0
  68.     #define ID_WPMI_ARRANGEFROMBOTTOM      0x2E1
  69.     #define ID_WPMI_ARRANGEPERIMETER       0x2E3
  70.     #define ID_WPMI_ARRANGEHORIZONTALLY    0x2E4
  71.     #define ID_WPMI_ARRANGEVERTICALLY      0x2E5
  72.  
  73.     #define ID_WPM_LOCKINPLACE             0x2DA
  74.     #define ID_WPM_VIEW                    0x68
  75.  
  76.     #define ID_WPMI_FORMATDISK             0x7C
  77.     #define ID_WPMI_CHECKDISK              0x80
  78.     #define ID_WPMI_REFRESH                0x1F7
  79.  
  80. #endif
  81.  
  82. #if __cplusplus
  83. }
  84. #endif
  85.  
  86.