| AnyConnect Secure Mobility Client 5.1.10.233

Public Member Functions | Public Attributes | List of all members
Gui Class Reference

## Public Member Functions
virtual BOOL | InitInstance ()

## Public Attributes
MainDialog * | m_pDlg

## Constructor & Destructor Documentation

## ◆ Gui()

Gui::Gui | ( |  | ) |

28{ }

## ◆ ~Gui()

Gui::~Gui | ( |  | ) |
| virtual

30{ }

## Member Function Documentation

## ◆ InitInstance()

BOOL Gui::InitInstance | ( |  | ) |
| virtual

38{
39 // InitCommonControlsEx() is required on Windows XP if an application
40 // manifest specifies use of ComCtl32.dll version 6 or later to enable
41 // visual styles. Otherwise, any window creation will fail.
42 INITCOMMONCONTROLSEX InitCtrls;
43 InitCtrls.dwSize = sizeof(InitCtrls);
44 // Set this to include all the common control classes you want to use
45 // in your application.
46 InitCtrls.dwICC = ICC_WIN95_CLASSES;
47 InitCommonControlsEx(&InitCtrls);
48
49 CWinApp::InitInstance();
50
51 // Standard initialization
52 MainDialog dlg(this);
53 m_pMainWnd = &dlg;
54 m_pDlg = &dlg;
55
56 INT_PTR nResponse = dlg.DoModal();
57 if (nResponse == IDOK)
58 {
59 }
60 else if (nResponse == IDCANCEL)
61 {
62 }
63
64 return FALSE;
65}