home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: InfoMgt / InfoMgt.zip / shr93.zip / SHARE.DLG < prev    next >
Text File  |  1993-04-12  |  3KB  |  62 lines

  1. /*
  2.  * OS/2 Work Place Shell Sample Program - Dialogs
  3.  *
  4.  * Copyright (C) 1993 IBM Corporation
  5.  *
  6.  *   DISCLAIMER OF WARRANTIES.  The following [enclosed] code is
  7.  *   sample code created by IBM Corporation.  This sample code is
  8.  *   not part of any standard or IBM product and is provided to you
  9.  *   solely for the purpose of assisting you in the development of
  10.  *   your applications.  The code is provided "AS IS".  ALL
  11.  *   WARRANTIES ARE EXPRESSLY DISCLAIMED, INCLUDING THE IMPLIED
  12.  *   WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  13.  *   PURPOSE.  IBM shall not be liable for any damages arising out
  14.  *   of your use of the sample code, even if IBM has been advised of
  15.  *   the possibility of such damages.
  16.  */
  17.  
  18. /*
  19.  * Note: The person's "Info" page could be greatly improved by using 
  20.  * combo-boxes for the City, State, and Zip code fields (left as an
  21.  * exercise for the reader).
  22.  *
  23.  * Control data for ENTRYFIELD:
  24.  *
  25.  *   CTLDATA 8, cchEditLimit, ichMinSel, ichMaxSel
  26.  *
  27.  * Control data for MLE:
  28.  *
  29.  *   CTLDATA 28, aflImportExportFormat, cchText, 0, 
  30.  *       iptAnchor, iptCursor, cxFormat, cyFormat, afFormatFlags
  31.  *
  32.  * Each CTLDATA item is taken as a SHORT, so to enter a LONG, the
  33.  * low word goes first, eg, "260,0" for a LONG of 260.
  34.  */
  35.  
  36. DLGTEMPLATE IDD_PERSONINFOPAGE LOADONCALL MOVEABLE DISCARDABLE
  37. BEGIN
  38.     DIALOG  "", IDD_PERSONINFOPAGE, 76, -22, 200, 132, NOT FS_DLGBORDER |
  39.             WS_VISIBLE | FS_NOBYTEALIGN
  40.     BEGIN
  41.         MLE             "", ID_NAME, 40, 110, 148, 18, MLS_WORDWRAP |
  42.                         WS_GROUP | MLS_IGNORETAB
  43.                         CTLDATA 28, 0, 260,0, 0,0, 0,0, 0,0, 0,0, 0,0
  44.         ENTRYFIELD      "", ID_ADDRESS, 42, 96, 144, 8, ES_MARGIN
  45.                         CTLDATA 8, 128, 0, 0
  46.         ENTRYFIELD      "", ID_CITY, 42, 80, 40, 8, ES_MARGIN
  47.                         CTLDATA 8, 64, 0, 0
  48.         ENTRYFIELD      "", ID_STATE, 112, 80, 26, 8, ES_MARGIN
  49.                         CTLDATA 8, 48, 0, 0
  50.         ENTRYFIELD      "", ID_ZIPCODE, 160, 80, 34, 8, ES_MARGIN
  51.                         CTLDATA 8, 10, 0, 0
  52.         ENTRYFIELD      "", ID_PHONE, 42, 63, 70, 8, ES_MARGIN
  53.                         CTLDATA 8, 16, 0, 0
  54.         LTEXT           "Name:", 0, 12, 116, 28, 8
  55.         LTEXT           "Address:", 0, 2, 96, 36, 8
  56.         LTEXT           "City:", 0, 20, 80, 17, 8
  57.         LTEXT           "State:", 0, 86, 80, 24, 8
  58.         LTEXT           "Zip:", 0, 142, 80, 16, 8
  59.         LTEXT           "Phone:", 0, 8, 62, 30, 8
  60.     END
  61. END
  62.