home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / xwphescr.zip / XWPH0208.ZIP / include / helpers / undoc.h < prev    next >
C/C++ Source or Header  |  2002-04-25  |  4KB  |  117 lines

  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
  27. extern "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.     /*
  74.      * Some more OS/2 default menu items:
  75.      *
  76.      */
  77.  
  78.     /*
  79.  
  80.     #define ID_WPMI_PASTE                  0x2CB
  81.     #define ID_WPMI_SHOWICONVIEW           0x2CC
  82.     #define ID_WPMI_SHOWTREEVIEW           0x2CD
  83.     #define ID_WPMI_SHOWDETAILSVIEW        0x2CE
  84.  
  85.     #define ID_WPMI_SORTBYNAME             0x1770
  86.     #define ID_WPMI_SORTBYEXTENSION        0x9D87
  87.     #define ID_WPMI_SORTBYTYPE             0x1771
  88.     #define ID_WPMI_SORTBYREALNAME         0x1777
  89.     #define ID_WPMI_SORTBYSIZE             0x1778
  90.     #define ID_WPMI_SORTBYWRITEDATE        0x1779
  91.     #define ID_WPMI_SORTBYACCESSDATE       0x177B
  92.     #define ID_WPMI_SORTBYCREATIONDATE     0x177D
  93.  
  94.     #define ID_WPMI_ARRANGEFROMTOP         0x2DE
  95.     #define ID_WPMI_ARRANGEFROMLEFT        0x2DF
  96.     #define ID_WPMI_ARRANGEFROMRIGHT       0x2E0
  97.     #define ID_WPMI_ARRANGEFROMBOTTOM      0x2E1
  98.     #define ID_WPMI_ARRANGEPERIMETER       0x2E3
  99.     #define ID_WPMI_ARRANGEHORIZONTALLY    0x2E4
  100.     #define ID_WPMI_ARRANGEVERTICALLY      0x2E5
  101.  
  102.     #define ID_WPM_LOCKINPLACE             0x2DA
  103.     #define ID_WPM_VIEW                    0x68
  104.  
  105.     #define ID_WPMI_FORMATDISK             0x7C
  106.     #define ID_WPMI_CHECKDISK              0x80
  107.     #define ID_WPMI_REFRESH                0x1F7
  108.  
  109.     */
  110.  
  111. #endif
  112.  
  113. #if __cplusplus
  114. }
  115. #endif
  116.  
  117.