![]() |
(11.2)Bug in "Codejock Command Bar Dialog Sample" |
Post Reply
|
| Author | |
tNgLoo
Groupie
Joined: 21 April 2005 Status: Offline Points: 31 |
Post Options
Thanks(0)
Quote Reply
Topic: (11.2)Bug in "Codejock Command Bar Dialog Sample"Posted: 17 September 2007 at 8:08am |
|
Open this "Codejock Command Bar Dialog Sample", modify the dialog(IDD_DIALOGSAMPLE_DIALOG) resource, set "Minimize Box" property to "True", and compile and run.
When this dialog restored after minimized, the size of it (right side) changed!????
|
|
![]() |
|
tNgLoo
Groupie
Joined: 21 April 2005 Status: Offline Points: 31 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 September 2007 at 8:57am |
|
this bug is Based from CXTResizeDialog. Any dialog whose base class is CXTResizeDialog has same problem
|
|
![]() |
|
tNgLoo
Groupie
Joined: 21 April 2005 Status: Offline Points: 31 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 September 2007 at 9:37am |
|
// my solution, verified.
void CXTResize::GetMinMaxInfo(MINMAXINFO* pMMI)
{ CXTPClientRect rcClient(m_pWnd); CXTPWindowRect rcWindow(m_pWnd); // Add 1 line
if(rcClient.IsRectEmpty()) return;
CSize szBorder(rcWindow.Width() - rcClient.Width(), rcWindow.Height() - rcClient.Height()); if (m_szWindow != CSize(0, 0)) |
|
![]() |
|
terrym
Senior Member
Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 September 2007 at 12:29pm |
|
Was this solution agreed by XTP that is what they are adding ? please
|
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 September 2007 at 1:53am |
|
Yes, its good solution. Thanks
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |