home *** CD-ROM | disk | FTP | other *** search
/ BURKS 2 / BURKS_AUG97.ISO / BURKS / SOFTWARE / LIBS / ISDKC122.ZIP / RMTOPEN.CPP (.txt) < prev    next >
C/C++ Source or Header  |  1996-05-17  |  1KB  |  47 lines

  1. // crhtwind.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "isdkdemo.h"
  6. #include "rmtopen.h"
  7. #include "mainfrm.h"
  8. #include "tc_html.h"
  9.  
  10. #ifdef _DEBUG
  11. #undef THIS_FILE
  12. static char BASED_CODE THIS_FILE[] = __FILE__;
  13. #endif
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CRmtOpenDlg dialog
  17.  
  18. BEGIN_MESSAGE_MAP(CRmtOpenDlg, CDialog)
  19.     //{{AFX_MSG_MAP(CRmtOpenDlg)
  20.     //}}AFX_MSG_MAP
  21. END_MESSAGE_MAP()
  22.  
  23. CRmtOpenDlg::CRmtOpenDlg(CWnd* pParent /* = NULL */)
  24.     : CDialog(CRmtOpenDlg::IDD, pParent)
  25. {
  26.     //{{AFX_DATA_INIT(CRmtOpenDlg)
  27.     m_url = "http://www.talentcom.com/";
  28.     //}}AFX_DATA_INIT
  29. }
  30.  
  31. void CRmtOpenDlg::DoDataExchange(CDataExchange* pDX)
  32. {
  33.     CDialog::DoDataExchange(pDX);
  34.     //{{AFX_DATA_MAP(CRmtOpenDlg)
  35.     DDX_Text(pDX, IDC_URL, m_url);
  36.     //}}AFX_DATA_MAP
  37. }
  38.  
  39. void CRmtOpenDlg::OnOK()
  40. {                        
  41.     CDialog::OnOK(); 
  42. #ifdef SLIPPP
  43.     OpenRemote((char *)(const char *)m_url); 
  44. #endif                                                   
  45. }
  46.  
  47.