Page principale   Liste des namespaces   Hiérarchie des classes   Liste par ordre alphabétique   Liste des composants   Liste des fichiers   Membres des namespaces   Composants   Déclarations  

Référence de la classe CSDKInterfaceDlg

#include <SDKInterfaceDlg.h>


Types Publics

enum  { IDD = IDD_SDKINTERFACE_DIALOG }

Membres publics

 CSDKInterfaceDlg (CWnd *pParent=NULL)

Attributs Publics

CGlViewGlRenderCurrent
CStatic * pclStaticCurrent
CPoint oldPoint
CPoint m_MouseDownPoint
HDC m_hDC

Membres protégés

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnSysCommand (UINT nID, LPARAM lParam)
afx_msg void OnPaint ()
afx_msg HCURSOR OnQueryDragIcon ()

Attributs Protégés

HICON m_hIcon


Documentation des énumérations imbriquées

anonymous enum
 

Éléments énumérés:
IDD 

Définition à la ligne 24 du fichier SDKInterfaceDlg.h.


Documentation des contructeurs et destructeurs

CSDKInterfaceDlg CWnd *    pParent = NULL
 


Documentation des méthodes

void DoDataExchange CDataExchange *    pDX [protected, virtual]
 

Définition à la ligne 55 du fichier SDKInterfaceDlg.cpp.

Références IDC_EDITSELECTIMAGE, IDC_EDITSELECTMASK, et IDC_LISTINTERFACE.

00057 {
00058         CDialog::DoDataExchange(pDX);
00059         DDX_Text(pDX, IDC_EDITSELECTIMAGE, m_EditImage);
00060         DDX_Text(pDX, IDC_EDITSELECTMASK, m_EditMask);
00061         DDX_Control(pDX, IDC_LISTINTERFACE, m_ControlFileContent);

virtual BOOL OnInitDialog   [protected, virtual]
 

void OnPaint   [protected]
 

Définition à la ligne 160 du fichier SDKInterfaceDlg.cpp.

Références GlRenderCurrent, et m_hIcon.

00162 {
00163         if (IsIconic())
00164         {
00165                 CPaintDC dc(this); // device context for painting
00166 
00167                 SendMessage(WM_ICONERASEBKGND, reinterpret_cast<WPARAM>(dc.GetSafeHdc()), 0);
00168 
00169                 // Center icon in client rectangle
00170                 int cxIcon = GetSystemMetrics(SM_CXICON);
00171                 int cyIcon = GetSystemMetrics(SM_CYICON);
00172                 CRect rect;
00173                 GetClientRect(&rect);
00174                 int x = (rect.Width() - cxIcon + 1) / 2;
00175                 int y = (rect.Height() - cyIcon + 1) / 2;
00176 
00177                 // Draw the icon
00178                 dc.DrawIcon(x, y, m_hIcon);
00179         }
00180         else
00181         {
00182                 CDialog::OnPaint();
00183         }
00184         GlRenderCurrent->DrawGLScene();

HCURSOR OnQueryDragIcon   [protected]
 

Définition à la ligne 188 du fichier SDKInterfaceDlg.cpp.

00190 {
00191         return static_cast<HCURSOR>(m_hIcon);

void OnSysCommand UINT    nID,
LPARAM    lParam
[protected]
 

Définition à la ligne 143 du fichier SDKInterfaceDlg.cpp.

00145 {
00146         if ((nID & 0xFFF0) == IDM_ABOUTBOX)
00147         {
00148                 CAboutDlg dlgAbout;
00149                 dlgAbout.DoModal();
00150         }
00151         else
00152         {
00153                 CDialog::OnSysCommand(nID, lParam);
00154         }


Documentation des données imbriquées

CGlView* GlRenderCurrent
 

Définition à la ligne 18 du fichier SDKInterfaceDlg.h.

Référencé par OnPaint().

HDC m_hDC
 

Définition à la ligne 22 du fichier SDKInterfaceDlg.h.

HICON m_hIcon [protected]
 

Définition à la ligne 32 du fichier SDKInterfaceDlg.h.

Référencé par OnPaint().

CPoint m_MouseDownPoint
 

Définition à la ligne 21 du fichier SDKInterfaceDlg.h.

CPoint oldPoint
 

Définition à la ligne 20 du fichier SDKInterfaceDlg.h.

CStatic* pclStaticCurrent
 

Définition à la ligne 19 du fichier SDKInterfaceDlg.h.


La documentation associée à cette classe a été générée à partir des fichiers suivants :
Généré le Tue Dec 10 18:18:23 2002 pour ExNihilo par doxygen1.3-rc1