Click here to Skip to main content
15,907,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to use ADO to store and retrieve image data from Oracle using VC++ Pin
snprani8-Oct-05 2:07
snprani8-Oct-05 2:07 
GeneralRe: how to use ADO to store and retrieve image data from Oracle using VC++ Pin
G Haranadh8-Oct-05 9:53
G Haranadh8-Oct-05 9:53 
QuestionHow to use CByteArray to store images into PostgreSQL database from VC++ Pin
snprani8-Oct-05 2:06
snprani8-Oct-05 2:06 
QuestionGNFS and SNFS Pin
RedDragon2k8-Oct-05 1:20
RedDragon2k8-Oct-05 1:20 
QuestionInteraction between dialog boxes Pin
swaapu7-Oct-05 23:58
swaapu7-Oct-05 23:58 
AnswerRe: Interaction between dialog boxes Pin
Intertherain8-Oct-05 2:20
Intertherain8-Oct-05 2:20 
GeneralRe: Interaction between dialog boxes Pin
swaapu8-Oct-05 2:50
swaapu8-Oct-05 2:50 
GeneralRe: Interaction between dialog boxes Pin
Mircea Puiu8-Oct-05 21:12
Mircea Puiu8-Oct-05 21:12 
You have probably two classes derived from CDialog for your dialogs. Let them be (it's just an example) CYourDlg1 and CYourDlg2.

I guess you are using them like that (supossing they are modal):

CYourDlg1 dlg1;
 .
 .
dlg1.DoModal()

and
CYourDlg2 dlg2;
 .
 .
dlg2.DoModal()

respectively.
Now, let's say you want to pass some CString data (containing a fully qualified name of some file), which you get from dlg1, to dlg2.
You must add some data member to each of those two classes: CString m_strFile.
In the OnOK() function of CYourDlg1 you add the line:
m_strFile = ... with the dots replaced by something you are using there (Smile | :) ).
Before calling dlg2.DoModal(), you initialize the data of dlg2 with data from dlg1:
dlg2.m_strFile = dlg1.m_strFile


SkyWalker

-- modified at 3:13 Sunday 9th October, 2005
Question(Urgent help need)Enabling UNICODE support in VC++ Pin
Amit j Patil7-Oct-05 22:21
Amit j Patil7-Oct-05 22:21 
AnswerRe: (Urgent help need)Enabling UNICODE support in VC++ Pin
Supriya Tonape7-Oct-05 22:34
Supriya Tonape7-Oct-05 22:34 
GeneralRe: (Urgent help need)Enabling UNICODE support in VC++ Pin
Amit j Patil7-Oct-05 22:53
Amit j Patil7-Oct-05 22:53 
GeneralRe: (Urgent help need)Enabling UNICODE support in VC++ Pin
Supriya Tonape7-Oct-05 23:19
Supriya Tonape7-Oct-05 23:19 
GeneralRe: (Urgent help need)Enabling UNICODE support in VC++ Pin
Amit j Patil7-Oct-05 23:29
Amit j Patil7-Oct-05 23:29 
GeneralRe: (Urgent help need)Enabling UNICODE support in VC++ Pin
Supriya Tonape7-Oct-05 23:52
Supriya Tonape7-Oct-05 23:52 
GeneralRe: (Urgent help need)Enabling UNICODE support in VC++ Pin
Amit j Patil8-Oct-05 0:06
Amit j Patil8-Oct-05 0:06 
GeneralRe: (Urgent help need)Enabling UNICODE support in VC++ Pin
Supriya Tonape8-Oct-05 0:17
Supriya Tonape8-Oct-05 0:17 
GeneralRe: (Urgent help need)Enabling UNICODE support in VC++ Pin
Amit j Patil8-Oct-05 0:57
Amit j Patil8-Oct-05 0:57 
GeneralRe: (Urgent help need)Enabling UNICODE support in VC++ Pin
Jose Lamas Rios8-Oct-05 14:40
Jose Lamas Rios8-Oct-05 14:40 
GeneralRe: (Urgent help need)Enabling UNICODE support in VC++ Pin
Jose Lamas Rios8-Oct-05 14:38
Jose Lamas Rios8-Oct-05 14:38 
AnswerRe: (Urgent help need)Enabling UNICODE support in VC++ Pin
Jose Lamas Rios8-Oct-05 14:43
Jose Lamas Rios8-Oct-05 14:43 
AnswerRe: (Urgent help need)Enabling UNICODE support in VC++ Pin
Prakash Nadar8-Oct-05 23:02
Prakash Nadar8-Oct-05 23:02 
GeneralRe: (Urgent help need)Enabling UNICODE support in VC++ Pin
Amit j Patil11-Oct-05 1:52
Amit j Patil11-Oct-05 1:52 
GeneralRe: (Urgent help need)Enabling UNICODE support in VC++ Pin
Prakash Nadar11-Oct-05 5:55
Prakash Nadar11-Oct-05 5:55 
QuestionDisabling scroll bar Pin
karmendra_js7-Oct-05 21:33
karmendra_js7-Oct-05 21:33 
AnswerRe: Disabling scroll bar Pin
Mircea Puiu8-Oct-05 21:18
Mircea Puiu8-Oct-05 21:18 

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.