Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - ListCtrl Event
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ListCtrl Event

 Post Reply Post Reply
Author
Message
GWLee View Drop Down
Newbie
Newbie


Joined: 13 June 2018
Location: South Korea
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote GWLee Quote  Post ReplyReply Direct Link To This Post Topic: ListCtrl Event
    Posted: 13 June 2018 at 9:28pm
Hello All,

I hope this is the correct forum, my apologies if it is not.

We have recently reveiwed to v18.4 of CodeJock Trial Sample Project.

I would like to create the following list controls through the toolkit.

The project being referenced is GUI _ Eclipse, which refers to the Tasks tab of the Pane control.



However, there are no examples of events here, such as double clicking on the list to modify it and changing themes.



Is there an event sample from the list control on the toolkit?

For example, how can I make samples, such as double clicking on the list and changing the color or inserting images, as in the picture above?


Please help.

Many thanks.

GWLee

Back to Top
olebed View Drop Down
Admin Group
Admin Group
Avatar

Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 836
Post Options Post Options   Thanks (1) Thanks(1)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 15 June 2018 at 6:13am
Hello GWLee,

You can find more extended example of using CXTPListCtrl in Samples\Controls\ListCtrl\ListCtrlDlg.h

CXTPListCtrl is inherited from CListCtrl so you can use common notyfication handling.
I have added next code to Samples\Controls\ListCtrl
    BEGIN_MESSAGE_MAP(CListCtrlDlg, CXTPResizeDialog)
    ....
    ON_NOTIFY(NM_CLICK, IDC_LIST_CTRL, OnListClick)
    END_MESSAGE_MAP()
    
    void CListCtrlDlg::OnListClick(NMHDR* pNMHDR, LRESULT* pResult)
    {
    // add something
    }
However for your purposes will be better ReportControl.

Regards,
 Oleksandr Lebed
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.094 seconds.