home *** CD-ROM | disk | FTP | other *** search
/ WindowsWare 2 the Maxx / winmaxx.zip / winmaxx / WIN_NT / NTCTRL02.ZIP / XSTATIC.TXT < prev   
Text File  |  1992-08-18  |  2KB  |  42 lines

  1.  
  2.          XStatic Control for Windows NT Dialog Editor by Mark Gamber
  3.                            Version 0.2  8/18/92
  4.  
  5.    Xstatic is a static text control with a 3-D bordered effect for use with the
  6. Windows NT Dialog Editor. To use the control, copy XSTATIC.DLL to your develop-
  7. -ment directory and, from the Dialog Editor, select "File" and "Open Custom".
  8. Select the file from the dialog box displayed. If all goes well, you should be
  9. able to see it by placing it on a dialog box.
  10.  
  11.    Double-Clicking the control displays a dialog box from which you may set the
  12. text, whether the border is raised or lowered and text justification. Other
  13. runtime options are:
  14.  
  15.    BM_SETSTYLE: If wParam is 0, lParam contains the background RGV value.
  16.                 Otherwise, lParam is the text RGB value.
  17.  
  18.    BM_SETSTATE: wParam holds flags which determine border style and text
  19.                 justification. These flags are found in XSTATIC.H, which should
  20.                 be Included in your source code if using the control
  21.                 runtime messages.
  22.       Flags:
  23.          DT_TOP        0x0000
  24.          DT_LEFT       0x0000
  25.          DT_CENTER     0x0001
  26.          DT_RIGHT      0x0002
  27.          DT_VCENTER    0x0004
  28.          DT_BOTTOM     0x0008
  29.          XS_BORDERIN   0x1000
  30.          XS_BORDEROUT  0x2000
  31.  
  32.  
  33.    This software is public domain and free for all to use and distribute. By
  34. using the software, the user has sole responsibility for proper use of the
  35. software. The author is not liable for anything. If you cannot agree to this,
  36. you cannot use the software. Period. The author may be reached as follows:
  37.  
  38. America Online E-Mail: PCA MarkG
  39. Compuserve Mail:       76450,2754
  40. Internet E-Mail:       pcamarkg@aol.com
  41.  
  42.