|
-
November 18th, 2010, 11:16 AM
#1
How make visible ListCtrl ?
I have one ListCtrl ( really, class derived from ListCtrl) f.e name it " One".
this One isa copy of other class derived from ListCtrl ( f.e. Two)
One = ( Class _One_Definition *) Two.
just now I have a great problem, how show control One!
it is populated with valid data from Two, I checked it, but i dont know, how make Two visible!
So, I filled ONE without InsertItems, only copy data from ONE
not redrawitems, not redrawwindow nothing does not help..
Please, consult me on this great problem! is any solution?
thanks alot.
-
November 20th, 2010, 06:24 AM
#2
Re: How make visible ListCtrl ?
Afraid you either don't understand the real situation (what looks more probable to me) or fail to explain it correctly. According to your One = ( Class _One_Definition *) Two I would say One is not a copy of Two, but both are pointers referencing the same single object.
Best regards,
Igor
-
November 20th, 2010, 08:25 AM
#3
Re: How make visible ListCtrl ?
 Originally Posted by Igor Vartanov
Afraid you either don't understand the real situation (what looks more probable to me) or fail to explain it correctly. According to your One = ( Class _One_Definition *) Two I would say One is not a copy of Two, but both are pointers referencing the same single object. 
From formal point of view you are right. There is no copy operation between both objects.
But this remark doesnot key to solution, how fire oblect to user.
-
November 20th, 2010, 09:13 AM
#4
Re: How make visible ListCtrl ?
Before talking about solution you need to identify your problem. Now the problem I can see is your description is a total mess. If you need to show window you use ShowWindow. But in the latter case what was the whole essay about One and Two for?
Best regards,
Igor
-
November 21st, 2010, 08:34 AM
#5
Re: How make visible ListCtrl ?
Igor, thanks for your efforts,
problem solved already.
-
November 21st, 2010, 11:40 AM
#6
Re: How make visible ListCtrl ?
Problem? What problem?
Best regards,
Igor
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|