Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: COM events Pin
Michael P Butler1-Oct-02 23:29
Michael P Butler1-Oct-02 23:29 
GeneralMFC Menu Woes Pin
Jeff Patterson1-Oct-02 16:42
Jeff Patterson1-Oct-02 16:42 
GeneralRe: MFC Menu Woes Pin
Tomasz Sowinski2-Oct-02 0:05
Tomasz Sowinski2-Oct-02 0:05 
GeneralRe: MFC Menu Woes Pin
Jeff Patterson2-Oct-02 15:45
Jeff Patterson2-Oct-02 15:45 
Questionkeboard mouse messages? Pin
imran_rafique1-Oct-02 16:31
imran_rafique1-Oct-02 16:31 
AnswerRe: keboard mouse messages? Pin
alex.barylski1-Oct-02 21:16
alex.barylski1-Oct-02 21:16 
GeneralRe: keboard mouse messages? Pin
imran_rafique2-Oct-02 16:19
imran_rafique2-Oct-02 16:19 
GeneralRe: keboard mouse messages? Pin
alex.barylski2-Oct-02 20:10
alex.barylski2-Oct-02 20:10 
GeneralAdding MFC controls to a MDI child window Pin
Daaave1-Oct-02 15:43
Daaave1-Oct-02 15:43 
GeneralRe: Adding MFC controls to a MDI child window Pin
PJ Arends1-Oct-02 16:51
professionalPJ Arends1-Oct-02 16:51 
QuestionIs it becuase the object is destroyed? Pin
monrobot131-Oct-02 14:44
monrobot131-Oct-02 14:44 

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.