Ignore:
Timestamp:
Jan 8, 2001, 6:54:48 PM (25 years ago)
Author:
umoeller
Message:

Final changes for 0.9.7, i hope...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/helpers/cnrh.h

    r17 r21  
    3939    #endif
    4040
     41    /*
     42     *@@category: Helpers\PM helpers\Container helpers\Details view helpers
     43     */
     44
    4145    /* ******************************************************************
    4246     *
     
    107111                                 ULONG ulFieldReturn);
    108112
     113    /*
     114     *@@category: Helpers\PM helpers\Container helpers\Record core helpers
     115     */
     116
    109117    /* ******************************************************************
    110118     *
     
    174182        WinSendMsg(hwndCnr, CM_INVALIDATERECORD, NULL, MPFROM2SHORT(0, CMA_ERASE | CMA_REPOSITION | CMA_TEXTCHANGED))
    175183
     184    /*
     185     *@@category: Helpers\PM helpers\Container helpers\View management
     186     */
     187
    176188    /* ******************************************************************
    177189     *
     
    186198     *      be a PCNRINFO.
    187199     *      Example:
     200     *
    188201     +          CNRINFO CnrInfo;
    189202     +          cnrhQueryCnrInfo(&CnrInfo);
     
    199212    /*
    200213     *@@ BEGIN_CNRINFO:
    201      *      this func starts a "container info" block for the
    202      *      following functions.
     214     *      this macro starts a "container info" block. In such
     215     *      a block, you may use the following macros:
     216     *
     217     *      -- cnrhSetTitle
     218     *
     219     *      -- cnrhSetSplitBarAfter
     220     *
     221     *      -- cnrhSetSplitBarPos
     222     *
     223     *      -- cnrhSetTreeBmpOrIconSize
     224     *
     225     *      -- cnrhSetBmpOrIconSize
     226     *
     227     *      -- cnrhSetView (most frequently)
     228     *
     229     *      -- cnrhSetTreeIndent
     230     *
     231     *      -- cnrhSetSortFunc
     232     *
     233     *      Typical usage is like this:
     234     *
     235     +          BEGIN_CNRINFO()
     236     +          {
     237     +              cnrhSetTreeIndent(20);
     238     +              cnrhSetView(CV_TREE | CV_ICON | CA_TREELINE);
     239     +          } END_CNRINFO(hwndCnr);
     240     *
    203241     *      This must always be followed by END_CNRINFO(),
    204242     *      or you'll get funny compilation errors.
     
    215253    /*
    216254     *@@ END_CNRINFO:
    217      *      this ends a "container info" block started by
    218      *      BEGIN_CNRINFO.
     255     *      this macro ends a "container info" block.
     256     *      See BEGIN_CNRINFO.
    219257     *
    220258     *@@added V0.9.0
     
    228266    /*
    229267     *@@ cnrhSetTitle:
    230      *      this sets the container title to the specified
     268     *      this macro sets the container title to the specified
    231269     *      text. You must specify CA_CONTAINERTITLE with
    232270     *      cnrhSetView then.
     271     *
     272     *      This can only be used after BEGIN_CNRINFO().
    233273     *
    234274     *@@added V0.9.1 (99-12-18) [umoeller]
     
    278318     *      tree views.
    279319     *      The default is the system icon size (32 or 40).
     320     *
     321     *      This can only be used after BEGIN_CNRINFO().
    280322     */
    281323
     
    304346    /*
    305347     *@@ cnrhSetView:
    306      *      this sets the container view attributes (CNRINFO.flWindowAttr).
    307      *
    308      *      This can only be used after BEGIN_CNRINFO().
     348     *      this macro sets the container view attributes (CNRINFO.flWindowAttr).
     349     *
     350     *      This can only be used after BEGIN_CNRINFO(), like this:
     351     *
     352     +          BEGIN_CNRINFO()
     353     +          {
     354     +              cnrhSetView(CV_TEXT | CV_FLOW);
     355     +          } END_CNRINFO(hwndCnr);
    309356     *
    310357     *      The following combinations are useful for flWindowAttr.
     
    382429    /*
    383430     *@@ cnrhSetTreeIndent:
    384      *      this sets the horizontal spacing between levels
     431     *      this macro sets the horizontal spacing between levels
    385432     *      in Tree views.
     433     *
     434     *      This can only be used after BEGIN_CNRINFO().
    386435     *
    387436     *@@added V0.9.0
     
    394443    /*
    395444     *@@ cnrhSetSortFunc:
    396      *      this sets the sort function for a container.
     445     *      this macro sets the sort function for a container.
     446     *
    397447     *      This can only be used after BEGIN_CNRINFO().
    398448     *
     
    473523                                            PRECORDCORE preccCurrent);
    474524
     525    /*
     526     *@@category: Helpers\PM helpers\Container helpers\Record relations/iteration
     527     */
     528
    475529    /* ******************************************************************
    476530     *
Note: See TracChangeset for help on using the changeset viewer.