Click here to Skip to main content
15,913,199 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionImplement address book Pin
Radha Krishna Reddy13-Jun-07 22:55
Radha Krishna Reddy13-Jun-07 22:55 
QuestionConnection points for Chat server using ATL/COM Pin
Raj Prathap12-Jun-07 0:23
Raj Prathap12-Jun-07 0:23 
AnswerRe: Connection points for Chat server using ATL/COM Pin
Roger Stoltz12-Jun-07 21:31
Roger Stoltz12-Jun-07 21:31 
GeneralWTL 8.0 Released! Pin
Rob Caldecott11-Jun-07 12:43
Rob Caldecott11-Jun-07 12:43 
GeneralRe: WTL 8.0 Released! Pin
Stuart Dootson11-Jun-07 21:10
professionalStuart Dootson11-Jun-07 21:10 
GeneralRe: WTL 8.0 Released! Pin
DevMentor.org11-Jul-07 23:59
DevMentor.org11-Jul-07 23:59 
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 
The MainFrame of my WTL application contains a splitter window.
The left pane of this window is derived from CCheckListViewCtrl,
whereas the right one is derived from CRichEditCtrl.
Items in ListView (or, rather, text strings of items)
represent headers of a collection of texts.
Initially Item[0] is selected in the left pane, and the corresponding
text Texts[0] is printed in the right pane.

Now I wish every time when (multi) selection
in the left pane is changed, the left pane to (re)print
all texts Texts[i] with selected indices i.

My derived ListView class contains
a member stl::vector<int> selectedIndeces,
containing indices of all selected items.
This vector can be updated in time,
if one adds appropriate message handlers
(for ListView)
for KEY_UP/KEY_DOWN keystrokes, as well as
for all kinds of mouse clicks (left, right, double).

My first question is: do there exists
the notification message (similar to LBN_SELCHANGE
for ListBoxes) produced by CCheckListViewCtrl
any time the selection is changed, in no matter which
way -- via keystroke or mouse click?

If yes, how one can catch this message in parent
CMainFrame? I.e., what kind of message handler
is to be added to CMainFrame's message map?

This is necessary, because only CMainFrame
has access to the whole business logic of the application,
in particular to the array of texts Texts[].

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 
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 

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.