Click here to Skip to main content
15,908,775 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionTool Tip on List Control Pin
Abhijeet Rajput10-Jun-07 23:33
Abhijeet Rajput10-Jun-07 23:33 
QuestionCommunication of CCheckListViewCtrl with parent CMainFrame Pin
Vlad09-Jun-07 7:53
Vlad09-Jun-07 7:53 
AnswerRe: Communication of CCheckListViewCtrl with parent CMainFrame Pin
Stuart Dootson9-Jun-07 14:39
professionalStuart Dootson9-Jun-07 14:39 
GeneralRe: Communication of CCheckListViewCtrl with parent CMainFrame Pin
Vlad010-Jun-07 7:37
Vlad010-Jun-07 7:37 
GeneralRe: Communication of CCheckListViewCtrl with parent CMainFrame Pin
Stuart Dootson10-Jun-07 7:55
professionalStuart Dootson10-Jun-07 7:55 
GeneralRe: Communication of CCheckListViewCtrl with parent CMainFrame Pin
Vlad010-Jun-07 8:11
Vlad010-Jun-07 8:11 
GeneralRe: Communication of CCheckListViewCtrl with parent CMainFrame Pin
Stuart Dootson10-Jun-07 8:27
professionalStuart Dootson10-Jun-07 8:27 
GeneralRe: Communication of CCheckListViewCtrl with parent CMainFrame Pin
Vlad011-Jun-07 8:20
Vlad011-Jun-07 8:20 
Alas Frown | :( WTL List View control fails to send any LVN_ODSTATECHANGED notification as well as any LVN_GETDISPINFO. I suspect
that the style flag LVS_OWNERDATA is simply ignored by
this control.

All this is very strange. One expects
that this control shold produce an "integral"
"Selection changed" event instead of
(or in addition to) "atomic" ITEMCHANGED.
As is the case with ListBox control.

The method using something like PostMessage/PeekMessage
has the same drawback, as using the series
of LBN_ITEMCHANGED with no redirection -- one is to find
a way to determine, which of the posted/picked messages is
the last one in a series.

Of course, one can write a procedure,
making an incremental update of RichEdit control
after any picked ITEMCHANGED message
(using CRichEdit.Cut()|Copy()|Paste()|SetSel()).
Incremental update may turn out to be more effective solution
than deleting all rich edit text and inserting the new one
after any "global selection changed" event. Suppose,
e.g., that one adds item 100 to 100 already
selected items -- from 0 to 99. Then incremental update
just adds Texts[100] to the end of the previous text.

Nevertheless, even while incremental update it is
more preferable to get one "global" selection change
notification instead of 100 "atomic" ones.
To guarantee that none of this 100 atomic notifications
will drop out of the message queue just because
the process of rich edit control update (even incremental one)
is much slower than the sending of a series
of notification messages.


GeneralRe: Communication of CCheckListViewCtrl with parent CMainFrame Pin
Stuart Dootson11-Jun-07 8:40
professionalStuart Dootson11-Jun-07 8:40 
GeneralRe: Communication of CCheckListViewCtrl with parent CMainFrame Pin
Vlad012-Jun-07 8:20
Vlad012-Jun-07 8:20 
GeneralRe: Communication of CCheckListViewCtrl with parent CMainFrame Pin
Stuart Dootson12-Jun-07 8:57
professionalStuart Dootson12-Jun-07 8:57 
GeneralRe: Communication of CCheckListViewCtrl with parent CMainFrame [modified] Pin
Vlad013-Jun-07 5:13
Vlad013-Jun-07 5:13 
GeneralRe: Communication of CCheckListViewCtrl with parent CMainFrame Pin
Stuart Dootson12-Jun-07 11:17
professionalStuart Dootson12-Jun-07 11:17 
GeneralRe: Communication of CCheckListViewCtrl with parent CMainFrame [modified] Pin
Vlad013-Jun-07 5:58
Vlad013-Jun-07 5:58 
QuestionUsing fonction recv , dynamic buffer Pin
NorGUI8-Jun-07 4:23
NorGUI8-Jun-07 4:23 
AnswerRe: Using fonction recv , dynamic buffer Pin
Stuart Dootson8-Jun-07 11:08
professionalStuart Dootson8-Jun-07 11:08 
QuestionDereferencing a function pointer in std::map Pin
Cpt Rick8-Jun-07 2:37
Cpt Rick8-Jun-07 2:37 
AnswerRe: Dereferencing a function pointer in std::map [modified] Pin
Stuart Dootson8-Jun-07 2:57
professionalStuart Dootson8-Jun-07 2:57 
GeneralRe: Dereferencing a function pointer in std::map Pin
Cpt Rick8-Jun-07 3:16
Cpt Rick8-Jun-07 3:16 
Questionplease Its Urgent Pin
Banks K7-Jun-07 20:03
Banks K7-Jun-07 20:03 
AnswerRe: please Its Urgent Pin
Paul Conrad14-Jul-07 11:11
professionalPaul Conrad14-Jul-07 11:11 
QuestionWhy can not define _ATL_MIN_CRT in Service Project? Pin
samfromcn6-Jun-07 23:05
samfromcn6-Jun-07 23:05 
AnswerRe: Why can not define _ATL_MIN_CRT in Service Project? Pin
Stuart Dootson7-Jun-07 0:27
professionalStuart Dootson7-Jun-07 0:27 
Questionhow can an ATL get its own name in the container? Pin
Rex.xie6-Jun-07 3:14
Rex.xie6-Jun-07 3:14 
AnswerRe: how to get the instance name of an ATL shown in the container. Pin
Steve S7-Jun-07 2:36
Steve S7-Jun-07 2:36 

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.