#include <SDKConsolDlg.h>
Types Publics | |
enum | { IDD = IDD_SDKCONSOL_DIALOG } |
Membres publics | |
CSDKConsolDlg (CWnd *pParent=NULL) | |
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 |
|
Définition à la ligne 15 du fichier SDKConsolDlg.h.
00015 { IDD = IDD_SDKCONSOL_DIALOG }; |
|
|
|
Définition à la ligne 53 du fichier SDKConsolDlg.cpp.
00055 { 00056 CDialog::DoDataExchange(pDX); |
|
|
|
Définition à la ligne 117 du fichier SDKConsolDlg.cpp. Références m_hIcon.
00119 { 00120 if (IsIconic()) 00121 { 00122 CPaintDC dc(this); // contexte de périphérique pour la peinture 00123 00124 SendMessage(WM_ICONERASEBKGND, reinterpret_cast<WPARAM>(dc.GetSafeHdc()), 0); 00125 00126 // Centrer l'icône dans le rectangle client 00127 int cxIcon = GetSystemMetrics(SM_CXICON); 00128 int cyIcon = GetSystemMetrics(SM_CYICON); 00129 CRect rect; 00130 GetClientRect(&rect); 00131 int x = (rect.Width() - cxIcon + 1) / 2; 00132 int y = (rect.Height() - cyIcon + 1) / 2; 00133 00134 // Dessiner l'icône 00135 dc.DrawIcon(x, y, m_hIcon); 00136 } 00137 else 00138 { 00139 CDialog::OnPaint(); 00140 } |
|
Définition à la ligne 144 du fichier SDKConsolDlg.cpp.
00146 {
00147 return static_cast<HCURSOR>(m_hIcon);
|
|
Définition à la ligne 100 du fichier SDKConsolDlg.cpp.
00102 { 00103 if ((nID & 0xFFF0) == IDM_ABOUTBOX) 00104 { 00105 CAboutDlg dlgAbout; 00106 dlgAbout.DoModal(); 00107 } 00108 else 00109 { 00110 CDialog::OnSysCommand(nID, lParam); 00111 } |
|
Définition à la ligne 23 du fichier SDKConsolDlg.h. Référencé par OnPaint(). |