-
September 10th, 2001, 06:41 AM
#1
combobox::getitemtext
combobox has no getitemtext function?
i must save its copy as item's data?
t!
-
September 10th, 2001, 06:47 AM
#2
Re: combobox::getitemtext
It does have GetLBText and GetLBTextLen
-
September 10th, 2001, 06:56 AM
#3
Re: combobox::getitemtext
use one of the following:
int GetLBText( int nIndex, LPTSTR lpszText ) const;
void GetLBText( int nIndex, CString& rString ) const;
Regards
SKP
Be sure to rate answers if it helped, to encourage them.
-
September 10th, 2001, 07:38 AM
#4
Re: combobox::getitemtext
can be any reason in DrawItem returns nonsense?
(btw. now i found mfc ignores later changes of CBS_OWNERDRAWFIXED, still calls my DrawItem)
-
September 10th, 2001, 07:48 AM
#5
Re: combobox::getitemtext
and not in draw item only
till i do not use my ccombobox derived class with own ownerdraw it works file
-
September 10th, 2001, 07:56 AM
#6
Re: combobox::getitemtext
resp. better to be able get item's text depends on ownerdrawfixed flag only
is it normal?
-
September 10th, 2001, 08:11 AM
#7
Re: combobox::getitemtext - found
problem found
with owner draw must have hasstrings too
fine day
t!
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
|