|
|
|
|
Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Offer Har
|
Aug 15, 2006 - 10:41 AM
|
Hi,
I have a docking bar that is created as follows in the CMainFrame::OnCreate :
CFirstDlg* pDlg1 = new CFirstDlg;
if(!pDlg1->Create(CFirstDlg::IDD, &m_bar1)) { return false; }
CRect rc; pDlg1->GetClientRect(rc); m_bar1.SetInitDesiredSizeFloating(CSize(rc.Width(), rc.Height())); m_bar1.EnableDocking(CBRS_ALIGN_ANY); m_bar1.FloatControlBar(CPoint(200,200)); ShowControlBar(&m_bar1, FALSE, FALSE);
The problem is that if I initially hide the bar (last line) when I show it, its size is 8x26 pixels. If I comment out the last line, it displays the dialog size exactly.
I looked into the code, and found out that when i try to show the bar it again, i see that the variable m_sizeFloated is changed from the parameters I sent it (in SetInitDesiredSizeFloating) to {cx=8 cy=26}
What is the problem? How do I solve it?
Thanks & Best regards, Offer
|
|
Technical Support
|
Aug 16, 2006 - 8:52 AM
|
We failed to reproduce this bug with Prof-UIS 2.55 beta available from our ftp site. Please let us know which version you mean 2.54 or 2.55 beta?
|
|
Offer Har
|
Aug 16, 2006 - 9:04 AM
|
|
|
Technical Support
|
Aug 16, 2006 - 10:45 AM
|
So this issue is fixed in Prof-UIS 2.55.
|
|