combobox has no getitemtext function?
i must save its copy as item's data?
t!
Printable View
combobox has no getitemtext function?
i must save its copy as item's data?
t!
It does have GetLBText and GetLBTextLen
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.
can be any reason in DrawItem returns nonsense?
(btw. now i found mfc ignores later changes of CBS_OWNERDRAWFIXED, still calls my DrawItem)
and not in draw item only
till i do not use my ccombobox derived class with own ownerdraw it works file
resp. better to be able get item's text depends on ownerdrawfixed flag only
is it normal?
problem found
with owner draw must have hasstrings too
fine day
t!