Click here to Skip to main content
15,890,741 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: text file as custom resource Pin
Stephen Hewitt2-Jan-07 16:32
Stephen Hewitt2-Jan-07 16:32 
AnswerRe: text file as custom resource Pin
S Douglas2-Jan-07 19:53
professionalS Douglas2-Jan-07 19:53 
AnswerRe: text file as custom resource Pin
Cristian Amarie3-Jan-07 10:40
Cristian Amarie3-Jan-07 10:40 
QuestionGetSystemTime Pin
abhiramsss2-Jan-07 12:10
abhiramsss2-Jan-07 12:10 
AnswerRe: GetSystemTime Pin
Michael Dunn2-Jan-07 14:55
sitebuilderMichael Dunn2-Jan-07 14:55 
AnswerRe: GetSystemTime Pin
kasturi_haribabu2-Jan-07 19:46
kasturi_haribabu2-Jan-07 19:46 
Questionhow to copy or duplicate the content of a view or a control? Pin
Arris742-Jan-07 11:44
Arris742-Jan-07 11:44 
AnswerRe: how to copy or duplicate the content of a view or a control? Pin
John R. Shaw2-Jan-07 12:17
John R. Shaw2-Jan-07 12:17 
As a guess, and assuming that the CtreeCtrl has a copy constructor, you may be able to use the CreateDialogParam function to pass the address of the current one to the dialog as the lParam of the WM_INITDIALOG message and then assign it (copy construct it) to the copy. Of course if you can do that then you may be able to just add a member to the dialog class and assign it there, during construction. Another option would be to find away to separate it so that a function call from the view or the dialog so that either one can access it, but I do not know if that is possible.

Like I said, I am just guessing here because I am out of practice and have not done it myself.


INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra

Questionstrstr error Pin
dellthinker2-Jan-07 11:39
dellthinker2-Jan-07 11:39 
AnswerRe: strstr error Pin
John R. Shaw2-Jan-07 11:52
John R. Shaw2-Jan-07 11:52 
AnswerRe: strstr error Pin
Hamid_RT2-Jan-07 17:11
Hamid_RT2-Jan-07 17:11 
Question32 x 32 Icons in ListView in Report mode Pin
Waleed Eissa2-Jan-07 11:25
Waleed Eissa2-Jan-07 11:25 
AnswerRe: 32 x 32 Icons in ListView in Report mode Pin
Michael Dunn2-Jan-07 14:58
sitebuilderMichael Dunn2-Jan-07 14:58 
QuestionSet second display as attached in win32 Pin
Oskars2-Jan-07 11:05
Oskars2-Jan-07 11:05 
AnswerRe: Set second display as attached in win32 Pin
Jun Du2-Jan-07 11:33
Jun Du2-Jan-07 11:33 
Question__non_rtti_object Pin
mostafa_pasha2-Jan-07 10:46
mostafa_pasha2-Jan-07 10:46 
QuestionIP TO COUNTRY Pin
Daniel Kanev2-Jan-07 8:32
Daniel Kanev2-Jan-07 8:32 
AnswerRe: IP TO COUNTRY Pin
Graham Bradshaw2-Jan-07 8:58
Graham Bradshaw2-Jan-07 8:58 
AnswerRe: IP TO COUNTRY Pin
ThatsAlok2-Jan-07 18:42
ThatsAlok2-Jan-07 18:42 
QuestionHow to -- get a pointer to INetConnectionCommonUi in netcon.h Pin
werpa2-Jan-07 6:14
werpa2-Jan-07 6:14 
Questionwhat is the meaning of this expression int *(*table())[30]; Pin
Ayman Mashal2-Jan-07 4:31
Ayman Mashal2-Jan-07 4:31 
AnswerRe: what is the meaning of this expression int *(*table())[30]; Pin
David Crow2-Jan-07 8:16
David Crow2-Jan-07 8:16 
AnswerRe: what is the meaning of this expression int *(*table())[30]; Pin
werpa2-Jan-07 8:50
werpa2-Jan-07 8:50 
GeneralRe: what is the meaning of this expression int *(*table())[30]; Pin
John R. Shaw2-Jan-07 10:26
John R. Shaw2-Jan-07 10:26 
AnswerRe: what is the meaning of this expression int *(*table())[30]; Pin
Michael Dunn2-Jan-07 15:04
sitebuilderMichael Dunn2-Jan-07 15:04 

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.