home *** CD-ROM | disk | FTP | other *** search
- 3DBUTTON is provided as freeware by Mark Douglas. I can be reached on
- Compuserve via mail address 71641,2155 or by phone, 415-506-3212.
-
- Copyright (C) 1991 Mark S. Douglas, All Rights Resreved.
-
-
- 3DBUTTON is a set of functions that make it easy to create buttons that display
- a bitmap or icon in the face of your buttons, instead of text. 3DBUTTON
- draws your button in pushed and non-pushed states eliminating the need to have
- two versions of a bitmap or icon for each button. One bitmap or icon is used
- for displaying your button in both states.
-
- Using 3DBUTTON is simple. When you create a button, in a dialog box editor or
- by calling the CreateWindow function, specify the OWNERDRAW button style.
- Using the OWNERDRAW style will cause a WM_DRAWITEM message to be sent to the
- parent of the button every time the button needs to be painted. When the
- parent window receives the WM_DRAWITEM message it should call the function
- WndDrawIconButton for buttons that use icons, or WndDrawBitmapButton for
- buttons that use bitmaps.
-
- A 3DBUTTON introduction and reference manual is provided in the file
- 3DBUTTON.WRI. This file also includes programming examples for 3DBUTTON.
-
- 3DBUTTON is provided as freeware. There is no charge for this software.
- 3DBUTTON is provided with source code. You are free to use and change 3DBUTTON
- for any reason.
-
-
- Files included with 3DBUTTON.
-
- 3DBUTTON.C C Source code module. Includes all 3DBUTTON source code.
- 3DBUTTON.H C Header. Includes 3DBUTTON function definitions.
- 3DBUTTON.WRI Reference Manual for 3DBUTTON.
- 3DBUTTON.MAK Make file compatible with the Borland MAKE utility.
- 3DBUTTON.OBJ Compiled small model version of 3DBUTTON.
-
- 3DTEST.BMP 3DTest Bitmap.
- 3DTEST.C C Source code module. Test Application for 3DBUTTON.
- 3DTEST.EXE Small Model 3DTest Executable.
- 3DTEST.ICO 3DTest Icon.
- 3DTEST.MAK Make file compatible with the Borland MAKE utility.
- 3DTEST.OBJ Compiled small model version of 3DTEST.C.
- 3DTEST.RES 3DTest Resource file. Includes 3DTEST.BMP and 3DTEST.ICO.
-
- To recompile 3DBUTTON run the MAKE utility with the 3DBUTTON.MAK file.
- Syntax: MAKE -f3DBUTTON.MAK -DM=[s|m|c|l] [-DDEBUG]
-
- To recompile 3DTEST run the MAKE utility with the 3DTEST.MAK file.
- Syntax: MAKE -f3DTEST.MAK -DM=[s|m|c|l] [-DDEBUG]
-
- Set the memory model to compile for by specifying either s, m, c, or l with
- the -DM flag. (s=Small model, m=Medium model, c=Compact model, l=large model).
- To compile using Debugging flags specify the -DDEBUG option. The Borland MAKE
- utility is case sensitive.
-
- Any questions or comments should be sent to Mark Douglas.
- Mark Douglas
- Compusere: 71641,2155
- Phone: 415-506-3212
-