![]() |
Own Control in a ReportControl? |
Post Reply
|
| Author | |
PanicMan
Groupie
Joined: 20 July 2006 Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Topic: Own Control in a ReportControl?Posted: 20 July 2006 at 11:40am |
|
Hello!
I'm using v10.10 of XTP.
So I want an AutoComplete Edit Field in a ReportControl with Drop-Down field for choosing the values. (Like in MSIE)
The Control itself I allready have, it is derived from CEdit, the DropDownBox from CWnd.
Is this possible?
Thanks!
|
|
![]() |
|
PanicMan
Groupie
Joined: 20 July 2006 Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 July 2006 at 4:50am |
|
Is it possible to implement own Controls or not?
|
|
![]() |
|
danpetitt
Senior Member
Joined: 17 July 2005 Location: United Kingdom Status: Offline Points: 109 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 July 2006 at 6:17am |
|
Dunno if this is valid or not, but what about looking at OnCreateControl and pass back a pointer to your own control.
|
|
![]() |
|
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 July 2006 at 6:05pm |
|
yes, look inplace list edit for example:
-- WBR, Serge |
|
![]() |
|
PierreL
Groupie
Joined: 01 September 2006 Location: Canada Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 January 2007 at 12:36pm |
|
I've tried deriving my own "CInplaceComboCtrl" from CXTPComboEx and CXTPReportInplaceControl. I need to have icons in my drop-list.
I'm having problems getting my dropdown to... well... drop. I followed the CXTPReportInplaceList code for the "Create" function but I've not been successful yet. Anyone tried this? I'd appreciate any hints you may have. Thanks, Peter |
|
![]() |
|
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 31 January 2007 at 1:53pm |
|
Note that CListBox is used here (not combo box).
I suggest you to inherit from CXTPReportInplaceList and add functionality to draw icons (use owner draw if need). Or use some other list control based class. -- Best regards, Sergey |
|
![]() |
|
PierreL
Groupie
Joined: 01 September 2006 Location: Canada Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Posted: 31 January 2007 at 2:49pm |
|
Yes, I'm aware that its using a CListBox. I was trying to use a CComboBox to avoid what you are suggesting. I guess I'll just paint my own.
BTW, along with the 'flicker free drawing' of the CXTListBox... icon support would be appreciated ![]() Thanks, P. |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |