with os2; use os2;  
with os2.jba; use os2.jba;  
package  BUTTONDP is 
--             Global variables.    
wDLG_Buttons     : aliased WINDOW ;
i                : integer := 1  ;
--         Window/control identifiers.    
IDD_HAND02       : constant long := 1000; --COMMENT
IDD_CIRCUIT      : constant long := 1001; --COMMENT
IDD_DLG_BUTTONS  : constant long := 3000; --Dialog                 
IDD_PSH_USER     : constant long := 3001; --User Button            
IDD_STATIC1      : constant long := 3002; --Group Box              
IDD_RAD_1        : constant long := 3003; --Radio Button           
IDD_RAD_2        : constant long := 3004; --Radio Button           
IDD_RAD_3        : constant long := 3005; --Radio Button           
IDD_RAD_4        : constant long := 3006; --Radio Button           
IDD_RAD_5        : constant long := 3007; --Radio Button           
IDD_LST_EVENTS   : constant long := 3008; --Listbox                
IDD_STATIC2      : constant long := 3009; --Static Text            
IDD_STATIC3      : constant long := 3010; --Group Box              
IDD_CHK_1        : constant long := 3011; --Checkbox               
IDD_STATIC4      : constant long := 3012; --Static Text            
IDD_STATIC5      : constant long := 3013; --Static Text            
IDD_STATIC6      : constant long := 3014; --Group Box              
IDD_PSH_TEXT     : constant long := 3015; --Push Button            
IDD_PSH_ICON     : constant long := 3016; --Push Button            
IDD_PSH_BITMAP   : constant long := 3017; --Push Button            
IDD_STATIC7      : constant long := 3018; --Static Text            
IDD_STATIC8      : constant long := 3019; --Static Text            
IDD_STATIC9      : constant long := 3020; --Static Text            
IDD_CHK_3STATE2  : constant long := 3021; --3-State Checkbox       
IDD_CHK_3STATE1  : constant long := 3022; --3-State Checkbox       
IDD_STATIC10     : constant long := 3023; --Static Text            
IDD_CHK_2        : constant long := 3024; --Checkbox               
--           Function Prototypes.         
function  DLG_ButtonsWndProc (h_wnd:HWND;msg:ULONG;mp1:PMPARAM;mp2:PMPARAM)return PMENTRY;
procedure DLG_ButtonsRAD_1Click  ;
procedure DLG_ButtonsRAD_2Click  ;
procedure DLG_ButtonsRAD_3Click  ;
procedure DLG_ButtonsRAD_4Click  ;
procedure DLG_ButtonsRAD_5Click  ;
procedure DLG_ButtonsRAD_5DblClick  ;
procedure DLG_ButtonsRAD_4DblClick  ;
procedure DLG_ButtonsRAD_3DblClick  ;
procedure DLG_ButtonsRAD_2DblClick  ;
procedure DLG_ButtonsRAD_1DblClick  ;
procedure DLG_ButtonsCHK_1Click  ;
procedure DLG_ButtonsCHK_2Click  ;
procedure DLG_ButtonsCHK_3State1Click  ;
procedure DLG_ButtonsCHK_3State2Click  ;
procedure DLG_ButtonsCHK_1DblClick  ;
procedure DLG_ButtonsCHK_2DblClick  ;
procedure DLG_ButtonsCHK_3State1DblClick  ;
procedure DLG_ButtonsCHK_3State2DblClick  ;
procedure DLG_ButtonsPSH_UserClick  ;
procedure DLG_ButtonsPSH_IconClick  ;
procedure DLG_ButtonsPSH_TextClick  ;
procedure DLG_ButtonsPSH_BitmapClick  ;
procedure ShowEvent (event:String);
-- procedure Buttons (WinModal:PWINDOW);
End BUTTONDP ;
