Click here to Skip to main content
15,912,207 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Process-Adress Pin
tommy27-Jul-00 10:49
tommy27-Jul-00 10:49 
Generalnumber of control on a dialog resource Pin
muharrem ergoktas23-Jul-00 2:43
sussmuharrem ergoktas23-Jul-00 2:43 
GeneralRe: number of control on a dialog resource Pin
Feng Yuan23-Jul-00 21:52
Feng Yuan23-Jul-00 21:52 
GeneralRe: number of control on a dialog resource Pin
Kurt23-Jul-00 22:20
Kurt23-Jul-00 22:20 
GeneralHeeelp: I need an expandable dialog (expanding 2 times) Pin
Werner Raffl22-Jul-00 6:39
sussWerner Raffl22-Jul-00 6:39 
GeneralRe: Heeelp: I need an expandable dialog (expanding 2 times) Pin
Joerg Wiedenmann25-Jul-00 11:31
Joerg Wiedenmann25-Jul-00 11:31 
GeneralReference to a Class Pin
Frank Deo22-Jul-00 4:47
Frank Deo22-Jul-00 4:47 
GeneralRe: Reference to a Class Pin
Falsem22-Jul-00 6:48
sussFalsem22-Jul-00 6:48 
hi,

You should make your CInternet class a data member of your application CApplication derived class. Then you initialize your internet connexion in your application "InitInstance()" and when you want to access to the iNet connexion, you use the following code:

in your CInternetApp.h:

public:
CInternet *iNet;

then modifie:
CInternetApp::InitInstance()
{
iNet = new CInternet();
}

access to the application data member frome anywhere in your application :

(from a CClient member function)
CClient::Function1()
{
CInternetApp *pApp;

pApp = (CInternetApp *)AfxGetApp();

// Accessing to the CInternet member of the
// CInternetApp class
pApp->iNet->SetServerName("Servername");
}


hope it help !

++ Benoit aka Falsem
authem_b@epita.fr
GeneralRe: Reference to a Class Pin
Frank Deo23-Jul-00 6:47
Frank Deo23-Jul-00 6:47 
GeneralRe: Reference to a Class Pin
Benedict Verheyen23-Jul-00 3:10
sussBenedict Verheyen23-Jul-00 3:10 
GeneralWin32 menu problems!! Pin
Jon Allsop21-Jul-00 23:07
Jon Allsop21-Jul-00 23:07 
GeneralCString to CHAR * Pin
Frank Deo21-Jul-00 14:19
Frank Deo21-Jul-00 14:19 
GeneralRe: CString to CHAR * Pin
Anonymous21-Jul-00 23:18
Anonymous21-Jul-00 23:18 
GeneralRe: CString to CHAR * Pin
Frank Deo22-Jul-00 4:41
Frank Deo22-Jul-00 4:41 
GeneralRe: CString to CHAR * Pin
Tim Deveaux22-Jul-00 5:22
Tim Deveaux22-Jul-00 5:22 
GeneralRe: CString to CHAR * Pin
Mike Dunn22-Jul-00 6:28
Mike Dunn22-Jul-00 6:28 
GeneralRe: CString to CHAR * Pin
Frank Deo23-Jul-00 6:46
Frank Deo23-Jul-00 6:46 
GeneralRe: CString to CHAR * Pin
Benedict Verheyen23-Jul-00 3:12
sussBenedict Verheyen23-Jul-00 3:12 
GeneralRe: CString to CHAR * Pin
Sandra23-Jul-00 4:11
Sandra23-Jul-00 4:11 
QuestionMenu in Docked Dialog Bar ??? Pin
Falsem21-Jul-00 14:07
sussFalsem21-Jul-00 14:07 
AnswerRe: Menu in Docked Dialog Bar ??? Pin
Mike Dunn21-Jul-00 17:35
Mike Dunn21-Jul-00 17:35 
GeneralRe: Menu in Docked Dialog Bar ??? Pin
Mike Dunn22-Jul-00 16:33
Mike Dunn22-Jul-00 16:33 
GeneralTo hide Close button from the system menu of a modeless dialog box. Pin
s21-Jul-00 14:06
s21-Jul-00 14:06 
GeneralDialog Context Sensitive Help, MFC 6.0 Pin
Jeff Naber21-Jul-00 13:29
Jeff Naber21-Jul-00 13:29 
GeneralRe: Dialog Context Sensitive Help, MFC 6.0 Pin
Blake Miller23-Jul-00 17:56
Blake Miller23-Jul-00 17:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.