Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Public Attributes | Protected Member Functions
CLinkPropertiesDlg Class Reference

#include <Dialogs.h>

List of all members.

Public Types

enum  { IDD = IDD_DIALOG_LINK_PROPERTIES }

Public Member Functions

 CLinkPropertiesDlg (CWnd *pParent=NULL)

Public Attributes

CString m_LinkText
CString m_LinkLocation

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual void OnOK ()

Detailed Description

Definition at line 64 of file Dialogs.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
IDD 

Definition at line 69 of file Dialogs.h.


Constructor & Destructor Documentation

Definition at line 119 of file Dialogs.cpp.

       : CDialog(CLinkPropertiesDlg::IDD, pParent)
{
       m_LinkText = _T("");
       m_LinkLocation = _T("");
}

Member Function Documentation

void CLinkPropertiesDlg::DoDataExchange ( CDataExchange *  pDX) [protected, virtual]

Definition at line 126 of file Dialogs.cpp.

void CLinkPropertiesDlg::OnOK ( ) [protected, virtual]

Definition at line 137 of file Dialogs.cpp.

{
       UpdateData(TRUE);

       if (m_LinkLocation.IsEmpty() || (m_LinkText.IsEmpty() && m_LinkLocation.IsEmpty()))
       {
              MessageBox(_T("Please enter a Link Location"));
              return;
       }

       if (m_LinkText.IsEmpty())
       {
              m_LinkText = m_LinkLocation;
       }

       EndDialog(IDOK);
}

Member Data Documentation

Definition at line 71 of file Dialogs.h.

Definition at line 70 of file Dialogs.h.


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