Click here to Skip to main content
15,895,423 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCListCtrl and multiselect question Pin
ns2-Oct-02 1:25
ns2-Oct-02 1:25 
GeneralRe: CListCtrl and multiselect question Pin
Tomasz Sowinski2-Oct-02 1:33
Tomasz Sowinski2-Oct-02 1:33 
Generalan observation Pin
ns2-Oct-02 1:39
ns2-Oct-02 1:39 
Generalmore questions Pin
ns2-Oct-02 1:46
ns2-Oct-02 1:46 
GeneralRe: an observation Pin
Tomasz Sowinski2-Oct-02 1:49
Tomasz Sowinski2-Oct-02 1:49 
GeneralRe: an observation Pin
ns2-Oct-02 1:54
ns2-Oct-02 1:54 
GeneralRe: an observation Pin
Tomasz Sowinski2-Oct-02 2:02
Tomasz Sowinski2-Oct-02 2:02 
1) try to replace the LVIS_STATEIMAGEMASK magic with calls to CListCtrl::GetCheck and CListCtrl::SetCheck

2) use TRACE instead of AfxMessageBox. There's a non-zero probability that displaying msgboxes in the handler interferes with notifications.

3) You should use NMLISTVIEW::uChanged if you want to check which item properties were changed.

4) I'm not sure if you should change the item state in LVN_ITEMCHANGED handler - this may lead to infinite recursion.

Tomasz Sowinski -- http://www.shooltz.com

*** Si fractum non sit, noli id reficere. ***

Generalrequest Pin
ns2-Oct-02 2:06
ns2-Oct-02 2:06 
GeneralRe: request Pin
Tomasz Sowinski2-Oct-02 2:13
Tomasz Sowinski2-Oct-02 2:13 
Generalokay - doing that - final(?) question Pin
ns2-Oct-02 2:17
ns2-Oct-02 2:17 
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 

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.