home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / commands / psettextcursor.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-15  |  808 b   |  31 lines

  1. /*
  2.  *--- PSetTextCursor.cpp --------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:19 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PSetTextCursor.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PSetTextCursor.h"
  12. #include "PRequestBuf.h"
  13. #include "PCommand.h"
  14.  
  15. const size_t REQUEST_SIZE = 12;
  16.  
  17. PSetTextCursor::PSetTextCursor
  18.   (    unsigned long nStoryID,
  19.     long nBegin,
  20.     long nEnd )
  21. {
  22.     char * temp[REQUEST_SIZE];
  23.     PRequestBuf request(temp);
  24.  
  25.     request << nStoryID << nBegin << nEnd;
  26.             
  27.     PCommand command(pm_settextcursor, request);
  28. }
  29.  
  30. // end of PSetTextCursor.cpp
  31.