Main Page Namespace List Class Hierarchy Alphabetical List Data Structures File List Namespace Members Data Fields Globals

# CSDKInterfaceApp Class Reference

`#include <SDKInterface.h>`

## Public Methods
| CSDKInterfaceApp ()
virtual BOOL | InitInstance ()

## Constructor & Destructor Documentation

CSDKInterfaceApp | ( |  | ) |

## Member Function Documentation

BOOL InitInstance | ( |  | ) | `[virtual]`

| Definition at line 35 of file SDKInterface.cpp. References FALSE.
    00037 {
    00038         // InitCommonControls() is required on Windows XP if an application
    00039         // manifest specifies use of ComCtl32.dll version 6 or later to enable
    00040         // visual styles.  Otherwise, any window creation will fail.
    00041         InitCommonControls();
    00042
    00043         CWinApp::InitInstance();
    00044
    00045         AfxEnableControlContainer();
    00046
    00047
    00048         CSDKInterfaceDlg dlg;
    00049         m_pMainWnd = &dlg;
    00050         INT_PTR nResponse = dlg.DoModal();
    00051         if (nResponse == IDOK)
    00052         {
    00053                 // TODO: Place code here to handle when the dialog is
    00054                 //  dismissed with OK
    00055         }
    00056         else if (nResponse == IDCANCEL)
    00057         {
    00058                 // TODO: Place code here to handle when the dialog is
    00059                 //  dismissed with Cancel
    00060         }
    00061
    00062         // Since the dialog has been closed, return FALSE so that we exit the
    00063         //  application, rather than start the application's message pump.
    00064         return FALSE;

The documentation for this class was generated from the following files:

- SDKInterface.h
- SDKInterface.cpp