home *** CD-ROM | disk | FTP | other *** search
/ Prima Shareware 3 / DuCom_Prima-Shareware-3_cd1.bin / PROGRAMO / C / 3DBUTT / README.TXT < prev   
Encoding:
Text File  |  1991-11-17  |  2.7 KB  |  60 lines

  1. 3DBUTTON is provided as freeware by Mark Douglas.  I can be reached on
  2. Compuserve via mail address 71641,2155 or by phone, 415-506-3212.
  3.  
  4. Copyright (C) 1991 Mark S. Douglas, All Rights Resreved.
  5.  
  6.  
  7. 3DBUTTON is a set of functions that make it easy to create buttons that display
  8. a bitmap or icon in the face of your buttons, instead of text.  3DBUTTON
  9. draws your button in pushed and non-pushed states eliminating the need to have
  10. two versions of a bitmap or icon for each button.  One bitmap or icon is used
  11. for displaying your button in both states.
  12.  
  13. Using 3DBUTTON is simple.  When you create a button, in a dialog box editor or
  14. by calling the CreateWindow function, specify the OWNERDRAW button style.
  15. Using the OWNERDRAW style will cause a WM_DRAWITEM message to be sent to the
  16. parent of the button every time the button needs to be painted.  When the
  17. parent window receives the WM_DRAWITEM message it should call the function
  18. WndDrawIconButton for buttons that use icons, or WndDrawBitmapButton for
  19. buttons that use bitmaps.
  20.  
  21. A 3DBUTTON introduction and reference manual is provided in the file
  22. 3DBUTTON.WRI.  This file also includes programming examples for 3DBUTTON.
  23.  
  24. 3DBUTTON is provided as freeware.  There is no charge for this software.
  25. 3DBUTTON is provided with source code.  You are free to use and change 3DBUTTON
  26. for any reason.
  27.  
  28.  
  29. Files included with 3DBUTTON.
  30.  
  31. 3DBUTTON.C      C Source code module.  Includes all 3DBUTTON source code.
  32. 3DBUTTON.H      C Header.  Includes 3DBUTTON function definitions.
  33. 3DBUTTON.WRI    Reference Manual for 3DBUTTON.
  34. 3DBUTTON.MAK    Make file compatible with the Borland MAKE utility.
  35. 3DBUTTON.OBJ    Compiled small model version of 3DBUTTON.
  36.  
  37. 3DTEST.BMP      3DTest Bitmap.
  38. 3DTEST.C        C Source code module.  Test Application for 3DBUTTON.
  39. 3DTEST.EXE      Small Model 3DTest Executable.
  40. 3DTEST.ICO      3DTest Icon.
  41. 3DTEST.MAK      Make file compatible with the Borland MAKE utility.
  42. 3DTEST.OBJ      Compiled small model version of 3DTEST.C.
  43. 3DTEST.RES      3DTest Resource file.  Includes 3DTEST.BMP and 3DTEST.ICO.
  44.  
  45. To recompile 3DBUTTON run the MAKE utility with the 3DBUTTON.MAK file.
  46. Syntax:  MAKE -f3DBUTTON.MAK -DM=[s|m|c|l] [-DDEBUG]
  47.  
  48. To recompile 3DTEST run the MAKE utility with the 3DTEST.MAK file.
  49. Syntax:  MAKE -f3DTEST.MAK -DM=[s|m|c|l] [-DDEBUG]
  50.  
  51. Set the memory model to compile for by specifying either s, m, c, or l with
  52. the -DM flag. (s=Small model, m=Medium model, c=Compact model, l=large model).
  53. To compile using Debugging flags specify the -DDEBUG option.  The Borland MAKE
  54. utility is case sensitive.
  55.  
  56. Any questions or comments should be sent to Mark Douglas.
  57.     Mark Douglas
  58.     Compusere:  71641,2155
  59.     Phone:      415-506-3212
  60.