Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalanalog clock Pin
Mr Bose Dayala14-Oct-04 18:01
Mr Bose Dayala14-Oct-04 18:01 
GeneralRe: analog clock Pin
ThatsAlok14-Oct-04 18:39
ThatsAlok14-Oct-04 18:39 
GeneralRe: analog clock Pin
Mr Bose Dayala14-Oct-04 19:27
Mr Bose Dayala14-Oct-04 19:27 
GeneralRe: analog clock Pin
ThatsAlok14-Oct-04 21:14
ThatsAlok14-Oct-04 21:14 
GeneralRe: analog clock Pin
Ryan Binns14-Oct-04 18:40
Ryan Binns14-Oct-04 18:40 
GeneralRe: analog clock Pin
V.14-Oct-04 22:46
professionalV.14-Oct-04 22:46 
QuestionHow to pass data to and from two forms? Pin
V5Dave14-Oct-04 15:59
V5Dave14-Oct-04 15:59 
AnswerRe: How to pass data to and from two forms? Pin
Sujan Christo14-Oct-04 19:22
Sujan Christo14-Oct-04 19:22 
Hi,
In any case one form will be the parent of the other form. So in the 2nd form use the GetParent() function to get the pointer cast it to the parent parentclass, set the parent's values using the currently got value

Have a look @ the following code,

CParentDlg *pParent = (CParentDlg *) GetParent();
pParent->m_iNewValue = m_iGotValue;

Hope this will help you.
Sujan
AnswerRe: How to pass data to and from two forms? Pin
Michael P Butler15-Oct-04 0:33
Michael P Butler15-Oct-04 0:33 
GeneralOwner-drawn CListBox-derived background color question Pin
Indrawati14-Oct-04 14:44
Indrawati14-Oct-04 14:44 
GeneralRe: Owner-drawn CListBox-derived background color question Pin
Mad__14-Oct-04 23:06
Mad__14-Oct-04 23:06 
GeneralRe: Owner-drawn CListBox-derived background color question Pin
Antony M Kancidrowski14-Oct-04 23:08
Antony M Kancidrowski14-Oct-04 23:08 
GeneralMaking an application non-resizable Pin
help_wanted14-Oct-04 14:42
help_wanted14-Oct-04 14:42 
GeneralRe: Making an application non-resizable Pin
Sujan Christo14-Oct-04 19:16
Sujan Christo14-Oct-04 19:16 
QuestionHow to close other processes? Pin
Moochie514-Oct-04 14:04
Moochie514-Oct-04 14:04 
AnswerRe: How to close other processes? Pin
Andrzej Markowski14-Oct-04 16:05
Andrzej Markowski14-Oct-04 16:05 
GeneralRe: How to close other processes? Pin
vikramlinux14-Oct-04 19:22
vikramlinux14-Oct-04 19:22 
GeneralRe: How to close other processes? Pin
Moochie515-Oct-04 6:27
Moochie515-Oct-04 6:27 
GeneralRe: How to close other processes? Pin
Andrzej Markowski15-Oct-04 7:04
Andrzej Markowski15-Oct-04 7:04 
GeneralRe: How to close other processes? Pin
Moochie515-Oct-04 8:14
Moochie515-Oct-04 8:14 
GeneralRe: How to close other processes? Pin
Andrzej Markowski15-Oct-04 9:32
Andrzej Markowski15-Oct-04 9:32 
GeneralRe: How to close other processes? Pin
Moochie515-Oct-04 10:53
Moochie515-Oct-04 10:53 
GeneralRe: How to close other processes? Pin
Moochie516-Oct-04 9:46
Moochie516-Oct-04 9:46 
GeneralRe: How to close other processes? Pin
Moochie516-Oct-04 10:01
Moochie516-Oct-04 10:01 
GeneralRe: How to close other processes? Pin
Andrzej Markowski17-Oct-04 11:54
Andrzej Markowski17-Oct-04 11:54 

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.