Click here to Skip to main content
15,888,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: object made through CRuntimeClass Pin
Iain Clarke, Warrior Programmer25-Mar-09 0:02
Iain Clarke, Warrior Programmer25-Mar-09 0:02 
GeneralRe: object made through CRuntimeClass Pin
Garth J Lancaster25-Mar-09 0:59
professionalGarth J Lancaster25-Mar-09 0:59 
GeneralOT: Re: object made through CRuntimeClass Pin
Iain Clarke, Warrior Programmer25-Mar-09 1:20
Iain Clarke, Warrior Programmer25-Mar-09 1:20 
GeneralOT (No, really) Pin
Rajesh R Subramanian25-Mar-09 1:56
professionalRajesh R Subramanian25-Mar-09 1:56 
GeneralRe: OT (No, really) Pin
Iain Clarke, Warrior Programmer25-Mar-09 2:32
Iain Clarke, Warrior Programmer25-Mar-09 2:32 
GeneralRe: OT: Re: object made through CRuntimeClass Pin
Eytukan25-Mar-09 5:28
Eytukan25-Mar-09 5:28 
GeneralRe: object made through CRuntimeClass Pin
CPallini25-Mar-09 3:33
mveCPallini25-Mar-09 3:33 
AnswerRe: object made through CRuntimeClass Pin
Iain Clarke, Warrior Programmer24-Mar-09 23:21
Iain Clarke, Warrior Programmer24-Mar-09 23:21 
prithaa wrote:
how do I access object made with CreateNewChild()?


By reading the documentation for the CreateNewChild method.
MSDN wrote:

CMDIChildWnd* CreateNewChild(
CRuntimeClass* pClass,
UINT nResource,
HMENU hMenu = NULL,
HACCEL hAccel = NULL
);


The function returns the new child that it has created. You should almost always pay attention to return values...
You can that cast it to the TableF type, and call as many functions as your heart desires.

Hope that helped!

Iain.

In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!

QuestionSet maximum length for Windows System password Pin
Shashi.Shinde24-Mar-09 20:45
Shashi.Shinde24-Mar-09 20:45 
AnswerRe: Set maximum length for Windows System password Pin
Rajesh R Subramanian24-Mar-09 21:03
professionalRajesh R Subramanian24-Mar-09 21:03 
GeneralRe: Set maximum length for Windows System password Pin
Eytukan24-Mar-09 21:17
Eytukan24-Mar-09 21:17 
GeneralRe: Set maximum length for Windows System password Pin
Chandrasekharan P24-Mar-09 21:47
Chandrasekharan P24-Mar-09 21:47 
GeneralRe: Set maximum length for Windows System password Pin
ThatsAlok25-Mar-09 1:47
ThatsAlok25-Mar-09 1:47 
JokeRe: Set maximum length for Windows System password Pin
CPallini24-Mar-09 22:37
mveCPallini24-Mar-09 22:37 
GeneralRe: Set maximum length for Windows System password Pin
Rajesh R Subramanian25-Mar-09 1:54
professionalRajesh R Subramanian25-Mar-09 1:54 
GeneralRe: Set maximum length for Windows System password Pin
CPallini25-Mar-09 1:59
mveCPallini25-Mar-09 1:59 
GeneralRe: Set maximum length for Windows System password Pin
Eytukan25-Mar-09 2:45
Eytukan25-Mar-09 2:45 
GeneralRe: Set maximum length for Windows System password Pin
CPallini25-Mar-09 3:18
mveCPallini25-Mar-09 3:18 
JokeRe: Set maximum length for Windows System password Pin
Eytukan25-Mar-09 3:22
Eytukan25-Mar-09 3:22 
GeneralRe: Set maximum length for Windows System password Pin
CPallini25-Mar-09 3:27
mveCPallini25-Mar-09 3:27 
GeneralRe: Set maximum length for Windows System password Pin
Eytukan25-Mar-09 3:46
Eytukan25-Mar-09 3:46 
QuestionHow to get the sub folder name of particular folder? Pin
AnithaSubramani24-Mar-09 19:45
AnithaSubramani24-Mar-09 19:45 
AnswerRe: How to get the sub folder name of particular folder? Pin
ThatsAlok24-Mar-09 19:47
ThatsAlok24-Mar-09 19:47 
AnswerRe: How to get the sub folder name of particular folder? Pin
_AnsHUMAN_ 24-Mar-09 19:49
_AnsHUMAN_ 24-Mar-09 19:49 
GeneralRe: How to get the sub folder name of particular folder? Pin
ThatsAlok24-Mar-09 19:53
ThatsAlok24-Mar-09 19:53 

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.