Click here to Skip to main content
15,897,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: okay - doing that - final(?) question Pin
Tomasz Sowinski2-Oct-02 2:31
Tomasz Sowinski2-Oct-02 2:31 
GeneralRe: request Pin
ns2-Oct-02 2:44
ns2-Oct-02 2:44 
GeneralRe: request Pin
Tomasz Sowinski2-Oct-02 2:56
Tomasz Sowinski2-Oct-02 2:56 
GeneralDirectory name not recognized. Pin
WREY2-Oct-02 1:09
WREY2-Oct-02 1:09 
GeneralRe: Directory name not recognized. Pin
Tomasz Sowinski2-Oct-02 1:18
Tomasz Sowinski2-Oct-02 1:18 
GeneralRe: Directory name not recognized. Pin
Stephane Rodriguez.2-Oct-02 1:17
Stephane Rodriguez.2-Oct-02 1:17 
GeneralRe: Directory name not recognized. Pin
WREY2-Oct-02 2:42
WREY2-Oct-02 2:42 
GeneralCString -> Float / Int Pin
Daniel Strigl1-Oct-02 22:52
Daniel Strigl1-Oct-02 22:52 
GeneralRe: CString -> Float / Int Pin
Alexandru Savescu1-Oct-02 23:04
Alexandru Savescu1-Oct-02 23:04 
GeneralRefresh problem with CRecordset Pin
Christos P.1-Oct-02 22:16
Christos P.1-Oct-02 22:16 
GeneralRe: Refresh problem with CRecordset Pin
Steen Krogsgaard2-Oct-02 2:34
Steen Krogsgaard2-Oct-02 2:34 
GeneralRe: Refresh problem with CRecordset Pin
Tomasz Sowinski2-Oct-02 2:37
Tomasz Sowinski2-Oct-02 2:37 
GeneralRe: Refresh problem with CRecordset Pin
Steen Krogsgaard2-Oct-02 4:18
Steen Krogsgaard2-Oct-02 4:18 
GeneralRe: Refresh problem with CRecordset Pin
Tomasz Sowinski2-Oct-02 4:22
Tomasz Sowinski2-Oct-02 4:22 
GeneralRe: Refresh problem with CRecordset Pin
Steen Krogsgaard2-Oct-02 4:30
Steen Krogsgaard2-Oct-02 4:30 
GeneralRe: Refresh problem with CRecordset Pin
Tomasz Sowinski2-Oct-02 4:32
Tomasz Sowinski2-Oct-02 4:32 
GeneralRe: Refresh problem with CRecordset Pin
Steen Krogsgaard2-Oct-02 4:38
Steen Krogsgaard2-Oct-02 4:38 
GeneralRe: Refresh problem with CRecordset Pin
Rick Crone2-Oct-02 8:38
Rick Crone2-Oct-02 8:38 
QuestionCListBox multiple selection painting...? Pin
alex.barylski1-Oct-02 21:27
alex.barylski1-Oct-02 21:27 
I have a custom control derived from CListBox and instead of using DrawItem I am using OnPaint() instead because the gui is to complex for OwnerDraw (Or so i've determined while attempting to do so).

Anyways the question I have is this:

I have created the listbox with the extended BIT checked and have had problems while painting the control for multiple selection (Although this would be really nice feature).

Using GetSel() and GetCaretIndex()
Doesn't seem to work and causes problems when drawing multiple selections (like drawing items which aren't really selected).

I'm thinking of using the CListBox::GetSelItems() instead, but would prefer to use the above for simplicity. Has anyone ever tried this before and had better luck with using the multiple selection functions...?

Thanks! Smile | :)

"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
AnswerRe: CListBox multiple selection painting...? Pin
RedZenBird2-Oct-02 4:47
RedZenBird2-Oct-02 4:47 
GeneralRe: CListBox multiple selection painting...? Pin
alex.barylski2-Oct-02 11:51
alex.barylski2-Oct-02 11:51 
GeneralUsing ADSI to access computer properties Pin
abhinarulkar1-Oct-02 21:14
abhinarulkar1-Oct-02 21:14 
QuestionTransparent Bitmaps in a Tree Control ? Pin
Daniel Strigl1-Oct-02 20:30
Daniel Strigl1-Oct-02 20:30 
AnswerRe: Transparent Bitmaps in a Tree Control ? Pin
Stephane Rodriguez.1-Oct-02 21:48
Stephane Rodriguez.1-Oct-02 21:48 
GeneralCOM events Pin
Shamoon1-Oct-02 18:59
Shamoon1-Oct-02 18:59 

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.