Click here to Skip to main content
15,885,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: saving a CListCtrl as a file Pin
Rage22-Apr-03 5:07
professionalRage22-Apr-03 5:07 
GeneralGet Ctrl Data out of SubForm Dialog to Main Dialog Pin
triggerdie22-Apr-03 4:37
triggerdie22-Apr-03 4:37 
GeneralRe: Get Ctrl Data out of SubForm Dialog to Main Dialog Pin
Rage22-Apr-03 5:35
professionalRage22-Apr-03 5:35 
GeneralRe: Get Ctrl Data out of SubForm Dialog to Main Dialog Pin
triggerdie22-Apr-03 22:02
triggerdie22-Apr-03 22:02 
GeneralRe: Get Ctrl Data out of SubForm Dialog to Main Dialog Pin
Rage22-Apr-03 23:07
professionalRage22-Apr-03 23:07 
GeneralRe: Get Ctrl Data out of SubForm Dialog to Main Dialog Pin
Rage23-Apr-03 23:10
professionalRage23-Apr-03 23:10 
GeneralRe: Get Ctrl Data out of SubForm Dialog to Main Dialog Pin
eXplodus22-Apr-03 8:10
eXplodus22-Apr-03 8:10 
GeneralRe: Get Ctrl Data out of SubForm Dialog to Main Dialog Pin
Joan M22-Apr-03 21:35
professionalJoan M22-Apr-03 21:35 
I don't know what you mean with SubForm, but if the subform is a dialog placed as a control inside a parent dialog, you can use member functions in the child dialog always...

I mean that is better to use member functions to get the values than getting the values directly by calling SubForm.m_CstringInEditCtrl if you use member functions (GETxxx and SETxxx in order to obtain and modify values) you'll always will be able to readapt the returned value or format the sent value as is desired...

then I would do:
1. from the parent dialog/window/... you'll always have access to the childs.
2. Using the previous premise, you'll be able to call members/methods/functions from the class of the child dialog.
3. I would call methods/functions of the subform in order to get/set the desired values and in order to make it safely.

Hope this helps.

NOTE:
Get and set are only prefixes that I use in order to use the hungarian notation and know what the function do before reading its content.
GeneralRe: Get Ctrl Data out of SubForm Dialog to Main Dialog Pin
triggerdie22-Apr-03 22:21
triggerdie22-Apr-03 22:21 
GeneralQuestion about Int64. Pin
George222-Apr-03 4:26
George222-Apr-03 4:26 
GeneralRe: Question about Int64. Pin
Tim Smith22-Apr-03 4:40
Tim Smith22-Apr-03 4:40 
GeneralRe: Question about Int64. Pin
George222-Apr-03 16:26
George222-Apr-03 16:26 
GeneralRe: Question about Int64. Pin
John R. Shaw22-Apr-03 16:42
John R. Shaw22-Apr-03 16:42 
GeneralRe: Question about Int64. Pin
George222-Apr-03 19:43
George222-Apr-03 19:43 
GeneralPixels - char (difficult) Pin
JensB22-Apr-03 3:52
JensB22-Apr-03 3:52 
GeneralRe: Pixels - char (difficult) Pin
Hans Ruck22-Apr-03 4:01
Hans Ruck22-Apr-03 4:01 
GeneralRe: Pixels - char (difficult) Pin
Jim Crafton22-Apr-03 4:40
Jim Crafton22-Apr-03 4:40 
GeneralCrash address, doesn't exist in .MAP file Pin
dandy7222-Apr-03 3:39
dandy7222-Apr-03 3:39 
GeneralRe: Crash address, doesn't exist in .MAP file Pin
Tim Smith22-Apr-03 3:53
Tim Smith22-Apr-03 3:53 
GeneralRe: Crash address, doesn't exist in .MAP file Pin
dandy7222-Apr-03 4:28
dandy7222-Apr-03 4:28 
GeneralRe: Crash address, doesn't exist in .MAP file Pin
Tim Smith22-Apr-03 4:42
Tim Smith22-Apr-03 4:42 
GeneralRe: Crash address, doesn't exist in .MAP file Pin
dandy7222-Apr-03 5:10
dandy7222-Apr-03 5:10 
GeneralRe: Crash address, doesn't exist in .MAP file Pin
Tim Smith22-Apr-03 6:19
Tim Smith22-Apr-03 6:19 
GeneralRe: Crash address, doesn't exist in .MAP file Pin
dandy7222-Apr-03 8:13
dandy7222-Apr-03 8:13 
GeneralRe: Crash address, doesn't exist in .MAP file Pin
Tim Smith22-Apr-03 9:03
Tim Smith22-Apr-03 9:03 

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.