Click here to Skip to main content
15,915,164 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSHBrowseForFolder not working in wince 5.0(x86) processor Pin
joemittu19-Mar-07 17:12
joemittu19-Mar-07 17:12 
Questionsome problems about listbox control Pin
Chen-XuNuo19-Mar-07 16:41
Chen-XuNuo19-Mar-07 16:41 
AnswerRe: some problems about listbox control Pin
Chen-XuNuo19-Mar-07 16:46
Chen-XuNuo19-Mar-07 16:46 
AnswerRe: some problems about listbox control Pin
prasad_som19-Mar-07 18:29
prasad_som19-Mar-07 18:29 
GeneralRe: some problems about listbox control Pin
Chen-XuNuo19-Mar-07 20:31
Chen-XuNuo19-Mar-07 20:31 
AnswerRe: some problems about listbox control Pin
prasad_som19-Mar-07 20:51
prasad_som19-Mar-07 20:51 
GeneralRe: some problems about listbox control Pin
Chen-XuNuo20-Mar-07 2:16
Chen-XuNuo20-Mar-07 2:16 
AnswerRe: some problems about listbox control Pin
prasad_som20-Mar-07 2:21
prasad_som20-Mar-07 2:21 
IT_DOER wrote:
CString* pt_str=(CString*)lpDrawItemStruct->itemData;
.....
dc.TextOut(lpDrawItemStruct->rcItem.left+4,lpDrawItemStruct->rcItem.top+2,pt_str) //ERROR


I think, you are just missing simple C++ thing. Need to listen carefully to compilere.
In this case you are passing pointer where, object reference is needed.
Just modify your code to,
CString* pt_str=(CString*)lpDrawItemStruct->itemData;
 .....
dc.TextOut(lpDrawItemStruct->rcItem.left+4,lpDrawItemStruct->rcItem.top+2,*pt_str); 


IT_DOER wrote:
And I am new here,I don't know what is CP..


Refer[^] this link to get faster answers.



GeneralRe: some problems about listbox control Pin
Chen-XuNuo20-Mar-07 3:30
Chen-XuNuo20-Mar-07 3:30 
AnswerRe: some problems about listbox control Pin
prasad_som20-Mar-07 4:02
prasad_som20-Mar-07 4:02 
AnswerRe: some problems about listbox control Pin
Chen-XuNuo19-Mar-07 16:46
Chen-XuNuo19-Mar-07 16:46 
AnswerRe: some problems about listbox control Pin
Parthi_Appu19-Mar-07 21:10
Parthi_Appu19-Mar-07 21:10 
GeneralRe: some problems about listbox control Pin
Chen-XuNuo20-Mar-07 2:27
Chen-XuNuo20-Mar-07 2:27 
GeneralRe: some problems about listbox control Pin
Parthi_Appu20-Mar-07 2:40
Parthi_Appu20-Mar-07 2:40 
GeneralRe: some problems about listbox control Pin
Chen-XuNuo20-Mar-07 3:46
Chen-XuNuo20-Mar-07 3:46 
QuestionHow to move a bitmap from a splitted window to another? Pin
hcygxr200819-Mar-07 16:38
hcygxr200819-Mar-07 16:38 
AnswerRe: How to move a bitmap from a splitted window to another? Pin
Parthi_Appu19-Mar-07 20:39
Parthi_Appu19-Mar-07 20:39 
GeneralRe: How to move a bitmap from a splitted window to another? Pin
hcygxr200826-Mar-07 16:28
hcygxr200826-Mar-07 16:28 
GeneralRe: How to move a bitmap from a splitted window to another? Pin
Parthi_Appu26-Mar-07 17:39
Parthi_Appu26-Mar-07 17:39 
GeneralRe: How to move a bitmap from a splitted window to another? Pin
hcygxr200827-Mar-07 19:18
hcygxr200827-Mar-07 19:18 
Questionerror by system user Pin
hanlei000000000919-Mar-07 16:35
hanlei000000000919-Mar-07 16:35 
Questioncsv parser function needed ? Pin
Software_Specialist19-Mar-07 13:51
Software_Specialist19-Mar-07 13:51 
AnswerRe: csv parser function needed ? Pin
Stephen Hewitt19-Mar-07 15:02
Stephen Hewitt19-Mar-07 15:02 
AnswerRe: csv parser function needed ? [modified] Pin
cp987619-Mar-07 15:02
cp987619-Mar-07 15:02 
AnswerRe: csv parser function needed ? Pin
El Corazon19-Mar-07 15:02
El Corazon19-Mar-07 15:02 

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.