![]() |
Problem with CustomControl in 9.80 |
Post Reply ![]() |
Author | ||
Cedric ![]() Newbie ![]() Joined: 27 October 2005 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() Posted: 27 October 2005 at 10:57am |
|
Hello
Today I change my demo version ( 9.70 ) to the 9.8 ( Xtreme toolkit pro ) in my application and i have some problem with CustomControl on command bars. I doesn't make change on my command bar object before i compiled my application with 9.80 In a commandbar I have some CustomControl like combobox, editbox. For the combobox i'm overide Drawitem function. The combobox inherit form CXTPFlatCombobox. With 9.70 combobox for instance draw my own stuff but now the comboxbox draw like CXTPControl and doesn't take my drawing sequence. it's look like this : ![]() For creatin my control i make like that :
the inherit of my combo box :
the draw item function doesn't call the drawitem's CXTFlatComboBox function. Before I launch my application i deleted files for savecommandbar and loadcommandbar. Thanks in advance for your help. Cédric Edit : i put a small project whith my problem 2005-10-28_032452_CustomCmbBox.zip Edited by Cedric |
||
![]() |
||
Cedric ![]() Newbie ![]() Joined: 27 October 2005 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() |
|
no idea ??
![]() |
||
![]() |
||
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
|
Hello, We agree this bug, that last version of CXTFlatComboBox don't support OwnerDraw styles. I recommend you to use "native" CXTPControlComboBox to allow customization of combo by user to move/copy/copy to menu bar and support all build-in themes. See sample:2005-10-28_060940_CustomCmbBox.zip
Sorry about bug, we will try to fix it for next release.
|
||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
![]() |
||
Cedric ![]() Newbie ![]() Joined: 27 October 2005 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() |
|
Thanks for this help i'm integrating your code and it's works fine. I
notice your advice but do you know a date for the release ?
|
||
![]() |
||
Cedric ![]() Newbie ![]() Joined: 27 October 2005 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() |
|
The combo works fine thanks again. But we have some problem with an
edit control with vertical scroll. The arrow of scroll appear only when
the edit have more than 1 line. This problem wasn't here in 9.70.
How can i handle this ? |
||
![]() |
||
Cedric ![]() Newbie ![]() Joined: 27 October 2005 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() |
|
We have a solution. In fact the Edit was an XTFlatEditEdit control and
scroll button appears only when we click on button. And when we remove
flat style on the edit scroll button appear well.
|
||
![]() |
||
kstowell ![]() Admin Group ![]() Joined: 25 January 2003 Location: MIchigan, USA Status: Offline Points: 496 |
![]() ![]() ![]() ![]() ![]() |
|
Hello, The problem that you reported with the combo box has been corrected with v9.81 release. Regards, |
||
![]() |
||
kanitamildasan ![]() Senior Member ![]() ![]() Joined: 01 February 2006 Status: Offline Points: 102 |
![]() ![]() ![]() ![]() ![]() |
|
Hi, https://forum.codejock.com/forum_posts.asp?TID=527&KW=se tliststyle I am using 9.81 Pro |
||
Xtreme ToolkitPro 12.1.1
Win XP (32bit) - SP2 Visual C++ 6.0 SP 6 |
||
![]() |
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 |