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.
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. :)
Re: How make visible ListCtrl ?
Quote:
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.
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?
Re: How make visible ListCtrl ?
Igor, thanks for your efforts,
problem solved already.
Re: How make visible ListCtrl ?
Problem? What problem? :)