1 /* 2 * Copyright (C) Volition, Inc. 1999. All rights reserved. 3 * 4 * All source code herein is the property of Volition, Inc. You may not sell 5 * or otherwise commercially exploit the source or things you created based on the 6 * source. 7 * 8 */ 9 10 11 12 #include "stdafx.h" 13 #include "FRED.h" 14 #include "OperatorArgTypeSelect.h" 15 16 #ifdef _DEBUG 17 #undef THIS_FILE 18 static char THIS_FILE[] = __FILE__; 19 #endif 20 21 ///////////////////////////////////////////////////////////////////////////// 22 // OperatorArgTypeSelect dialog 23 24 OperatorArgTypeSelect(CWnd * pParent)25OperatorArgTypeSelect::OperatorArgTypeSelect(CWnd* pParent /*=NULL*/) 26 : CDialog(OperatorArgTypeSelect::IDD, pParent) 27 { 28 //{{AFX_DATA_INIT(OperatorArgTypeSelect) 29 // NOTE: the ClassWizard will add member initialization here 30 //}}AFX_DATA_INIT 31 } 32 33 DoDataExchange(CDataExchange * pDX)34void OperatorArgTypeSelect::DoDataExchange(CDataExchange* pDX) 35 { 36 CDialog::DoDataExchange(pDX); 37 //{{AFX_DATA_MAP(OperatorArgTypeSelect) 38 // NOTE: the ClassWizard will add DDX and DDV calls here 39 //}}AFX_DATA_MAP 40 } 41 42 BEGIN_MESSAGE_MAP(OperatorArgTypeSelect,CDialog)43BEGIN_MESSAGE_MAP(OperatorArgTypeSelect, CDialog) 44 //{{AFX_MSG_MAP(OperatorArgTypeSelect) 45 ON_BN_CLICKED(ID_BOOLEAN, OnBoolean) 46 ON_BN_CLICKED(ID_NUMBERS, OnNumbers) 47 ON_BN_CLICKED(ID_SHIPS, OnShips) 48 ON_BN_CLICKED(ID_WINGS, OnWings) 49 //}}AFX_MSG_MAP 50 END_MESSAGE_MAP() 51 52 ///////////////////////////////////////////////////////////////////////////// 53 // OperatorArgTypeSelect message handlers 54 55 void OperatorArgTypeSelect::OnBoolean() 56 { 57 EndDialog(ID_BOOLEAN); 58 } 59 OnNumbers()60void OperatorArgTypeSelect::OnNumbers() 61 { 62 EndDialog(ID_NUMBERS); 63 } 64 OnShips()65void OperatorArgTypeSelect::OnShips() 66 { 67 EndDialog(ID_SHIPS); 68 } 69 OnWings()70void OperatorArgTypeSelect::OnWings() 71 { 72 EndDialog(ID_WINGS); 73 } 74