Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Adding combobox to the CXTPListCtrl item
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Adding combobox to the CXTPListCtrl item

 Post Reply Post Reply
Author
Message
Mohan View Drop Down
Newbie
Newbie
Avatar

Joined: 16 November 2011
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mohan Quote  Post ReplyReply Direct Link To This Post Topic: Adding combobox to the CXTPListCtrl item
    Posted: 13 February 2013 at 4:13am
Hello,

I want to add a combobox to the CXTListCtrl item.
What is the way to do so? I appreciate any help.

Please let me know.

Regards,
Mohan.
Back to Top
GRLEX View Drop Down
Groupie
Groupie
Avatar

Joined: 17 February 2009
Location: Ukraine
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote GRLEX Quote  Post ReplyReply Direct Link To This Post Posted: 22 February 2013 at 5:00am
CXTPReportRecordItem * pNewItem = NULL;
pNewItem = new CXTPReportRecordItem();
pNewItem->GetEditOptions(NULL)->AddComboButton();
pNewItem->GetEditoptions(NULL)->AddConstraint(L"Combo Text 1");
pNewItem->GetEditoptions(NULL)->AddConstraint(L"Combo Text 2");
...

This will be an item like combobox. Then you nedd to insert this item into your record in grid.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.