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

C / C++ / MFC

 
GeneralRe: I know absolutely nothing...help, please. Pin
фил2-Feb-04 1:26
фил2-Feb-04 1:26 
GeneralRe: I know absolutely nothing...help, please. Pin
John R. Shaw2-Feb-04 12:32
John R. Shaw2-Feb-04 12:32 
GeneralRe: I know absolutely nothing...help, please. Pin
Alan Chambers3-Feb-04 7:39
Alan Chambers3-Feb-04 7:39 
GeneralRe: I know absolutely nothing...help, please. Pin
Anonymous2-Feb-04 4:00
Anonymous2-Feb-04 4:00 
GeneralRe: I know absolutely nothing...help, please. Pin
_Sephiroth_2-Feb-04 10:02
_Sephiroth_2-Feb-04 10:02 
GeneralRe: I know absolutely nothing...help, please. Pin
Roger Wright2-Feb-04 4:51
professionalRoger Wright2-Feb-04 4:51 
GeneralGroup several pages or child windows in to one project Pin
swarnamanoo1-Feb-04 17:44
swarnamanoo1-Feb-04 17:44 
GeneralPerformance problem of using listctrl to retrieve data using ADO in VC++ Pin
Dababa1-Feb-04 17:15
Dababa1-Feb-04 17:15 
In my app, i use ADO to retrieve data from Access and i user clistctrl to show the data.

When the number of record is huge, it's very slow, then i tried to use virtual list which read data dynamically, however the performance is still bad because in OnGetDisp the data is retrived automatically, and involved in calling recordset object many many times.

After that, i try to user VB, i found that performance of ListView ctrl in mscomctrl.ocx is great (I didn't bind list ctrl with adodc object, i add the items dynamically). I note that the class name in VB is different from that in VC, for example, in VB the name is ListImages, while in VC, it's CImages. So i decide to use this control in visually c++, but there is still a problem. Because i use bitmap in the ctrl,i have to let the control to show some pics as well. and i import CImage,CImages, CPicture, CImageList class using wizzard. When i use CreateDispath to create CPicture obejct, it always failed, i suspect the ProgID is incorrect, then i use oleview to try to get the name, but i can't find it, then i tried Clsid, copy it from oleview, and it still failed to create, the error message is "the control is not registered". At last i went to try CImage, i got the same result unfortuletely.

Finnaly, i give up the wrapper class, i use import directive to get the coclass, o, my god, it still doesn't work.

Pls, help me, how to use the control and other com objects in vc, or tell me another list ctrl class to use with great performance.

I'm sorry, it's a long thread.
thank you.

I love C++
GeneralRe: Performance problem of retrieve data using ADO in VC++ Pin
Dababa1-Feb-04 17:43
Dababa1-Feb-04 17:43 
GeneralMoving from MFC CList to stl::vector; please help Pin
Cloaca1-Feb-04 17:14
Cloaca1-Feb-04 17:14 
GeneralRe: Moving from MFC CList to stl::vector; please help Pin
Cloaca1-Feb-04 18:02
Cloaca1-Feb-04 18:02 
GeneralRe: Moving from MFC CList to stl::vector; please help Pin
Diddy1-Feb-04 22:21
Diddy1-Feb-04 22:21 
GeneralRe: Moving from MFC CList to stl::vector; please help Pin
Cloaca2-Feb-04 4:49
Cloaca2-Feb-04 4:49 
GeneralRe: Moving from MFC CList to stl::vector; please help Pin
Diddy2-Feb-04 5:41
Diddy2-Feb-04 5:41 
QuestionIs there a function to create sound? Pin
siew hoon1-Feb-04 15:51
siew hoon1-Feb-04 15:51 
AnswerRe: Is there a function to create sound? Pin
Prakash Nadar1-Feb-04 16:26
Prakash Nadar1-Feb-04 16:26 
AnswerRe: Is there a function to create sound? Pin
george ivanov2-Feb-04 2:05
george ivanov2-Feb-04 2:05 
QuestionHow to fix the 2nd dialog from moving? Pin
siew hoon1-Feb-04 15:49
siew hoon1-Feb-04 15:49 
AnswerRe: How to fix the 2nd dialog from moving? Pin
Diddy1-Feb-04 22:40
Diddy1-Feb-04 22:40 
GeneralRe: How to fix the 2nd dialog from moving? Pin
siew hoon21-Feb-04 19:40
siew hoon21-Feb-04 19:40 
GeneralRe: How to fix the 2nd dialog from moving? Pin
Diddy22-Feb-04 10:23
Diddy22-Feb-04 10:23 
GeneralRe: How to fix the 2nd dialog from moving? Pin
Anonymous22-Feb-04 13:33
Anonymous22-Feb-04 13:33 
GeneralRe: How to fix the 2nd dialog from moving? Pin
Diddy23-Feb-04 5:10
Diddy23-Feb-04 5:10 
GeneralRe: How to fix the 2nd dialog from moving? Pin
siew hoon27-Feb-04 16:26
siew hoon27-Feb-04 16:26 
GeneralRe: How to fix the 2nd dialog from moving? Pin
Diddy28-Feb-04 1:21
Diddy28-Feb-04 1:21 

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.