BUG in CXTEditListBox |
Post Reply |
Author | |
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
Posted: 27 May 2009 at 6:11pm |
Hi;
I found a bug when the CXTEditListBox is used inside a resizable window. The integrated toolbar disappears when the control is resized: class CMyWnd : public CWnd { ... private: void OnSize(...); CXTEditListBox myChild_; } .... CMyWnd::OnSize(...) { ... myChild_.MoveWindow(0,0,cx,cy); } If I change the call to MoveWindow to CMyWnd::OnSize(...) { ... myChild_.MoveWindow(0,22,cx,cy-22); } the toolbar reappears. |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
So you use CXTResize functionality or manually reposition it ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Hi;
It's used as child of a pane! |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
so why it bug then? top of EditList box is toolbar - another window handle that you have handle manually or call RecalcLayout() to move this toolbar.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Hi;
It's nowhere DOCUMENTED that I have to handle the listbox and the toolbar separately!? For me its a compund control that should behave like this! |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
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 |