/*****************************************************************/
/* BWMYBTN.RC defines a simple Borland Windows Custom Control    */
/* Dialog Box that can be used as the main window.               */
/* Notice the CLASS "BORDLG" to activate the metalic background  */
/* Also notice the special "Borshade" Control.                   */
/* This dialog was designed with the workshop and the #includes  */
/* and these comments were added later using the BC++ 3.0 Editor */
/*****************************************************************/

#include "windows.h"
#include "bwcc.h"

MAINWINDOWDIALOG DIALOG 21, 15, 150, 171
CAPTION "Your Own Buttons"
CLASS "BORDLG"
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
BEGIN
	CONTROL "", 102, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 0, 126, 150, 1
	CONTROL "", 101, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE, 6, 7, 138, 114
	CTEXT "Is the relationship between the", -1, 12, 24, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
	CTEXT "Control ID of the BWCC Button ", -1, 12, 36, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
	CTEXT "And the Names of the 3 Bitmaps", -1, 12, 48, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
	CTEXT "That make up the button", -1, 12, 60, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
	CTEXT "If the control ID is 110", -1, 12, 72, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
	CTEXT "1110 is the bitmap for the button", -1, 12, 84, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
	CTEXT "3110 is the bitmap for depressed", -1, 12, 96, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
	CTEXT "5110 is the bitmap for focused", -1, 12, 108, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
	CONTROL "Button", 110, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 24, 132, 32, 20
	CONTROL "Button", 120, "BorBtn", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 90, 132, 32, 20
	CTEXT "The Trick To Drawing your own buttons", -1, 12, 12, 126, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
END





1110 BITMAP btn1000.bmp


3110 BITMAP btn3000.bmp


5110 BITMAP btn5000.bmp


1120 BITMAP go1.bmp


3120 BITMAP go3.bmp


5120 BITMAP go5.bmp

