/*
 *%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 *%									   %
 *%	Copyright (C) 1994 by WATCOM International Inc.		   	   %
 *%	All rights reserved.						   %
 *%									   %
 *%     Permission is granted to anyone to use this example program for	   %
 *%     any purpose on any computer system, subject to the following	   %
 *%	restrictions:							   %
 *%									   %
 *%     1. This example is provided on an "as is" basis, without warranty. %
 *%	   You indemnify, hold harmless and defend WATCOM from and against %
 *%	   any claims or lawsuits, including attorney's, that arise or	   %
 *%	   result from the use or distribution of this example, or any     %
 *%	   modification thereof.					   %
 *%									   %
 *%     2. You may not remove, alter or suppress this notice from this	   %
 *%        example program or any modification thereof.			   %
 *%									   %
 *%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 */


extern void add_button(HWND parent, int top, int left, int id, int FAR * pwidth, int FAR * pheight );

#if defined(__OS2__)

extern ULONG measure_button(HWND parent, MPARAM mp1, MPARAM mp2 );

extern void draw_button( MPARAM mp1, MPARAM mp2 );

#else	// Windows or NT

extern void measure_button(HWND parent, int button_id, MEASUREITEMSTRUCT FAR * measure );

extern void draw_button( int button_id, DRAWITEMSTRUCT FAR * draw );

#endif
