Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - v17 (final) Floating Docking Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

v17 (final) Floating Docking Problem

 Post Reply Post Reply
Author
Message
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Status: Offline
Points: 541
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Topic: v17 (final) Floating Docking Problem
    Posted: 12 January 2016 at 3:42am
When dragging a floating docking window, it is not correctly repainted.

Run the Ribbon Sample, and as the first thing drag the Styles docked window and you will see something like this:



I see the same in my own app.

-cpede
Product: Xtreme ToolkitPro (18.0.1)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
markr View Drop Down
Senior Member
Senior Member


Joined: 01 August 2004
Status: Offline
Points: 390
Post Options Post Options   Thanks (1) Thanks(1)   Quote markr Quote  Post ReplyReply Direct Link To This Post Posted: 12 January 2016 at 12:54pm
I can reproduce this in the sample, but it's not happening in my applications.

Out of curiosity, are you using the pane manager's SetShowContentsWhileDragging(TRUE) method?

- Mark R.
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Status: Offline
Points: 541
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 15 January 2016 at 6:17am
Test 1:
SetAlphaDockingContext(FALSE);
SetShowDockingContextStickers(TRUE);
SetShowContentsWhileDragging(TRUE);
Shows a white rect., instead of contents, and no stickers!

Test 2:
SetAlphaDockingContext(FALSE);
SetShowDockingContextStickers(TRUE);
SetShowContentsWhileDragging(FALSE);
Shows a gray frame with a lot of re-painting problems, and no stickers!

Test 3:
SetAlphaDockingContext(TRUE);
SetShowDockingContextStickers(TRUE);
SetShowContentsWhileDragging(FALSE);
Shows a blue rect., instead of contents, and stickers!
This can be used, but the blue rect. is not themed?

Test 4:
SetAlphaDockingContext(TRUE);
SetShowDockingContextStickers(TRUE);
SetShowContentsWhileDragging(TRUE);
Shows contents, and stickers!
This works!

The stickers are hard to theme, since they are hardcoded as a style and not as a theme class.

-cpede



Product: Xtreme ToolkitPro (18.0.1)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
Andruscha View Drop Down
Newbie
Newbie


Joined: 16 April 2008
Location: Germany
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Andruscha Quote  Post ReplyReply Direct Link To This Post Posted: 15 January 2016 at 4:15pm
When Form with a DockingPane on it is shown, the application freezes in v. 17 and has an one core workload. I played a bit with the properties but found no solution.
SuitePro ActiveX 17, VB6, Windows 10
Back to Top
vjedlicka View Drop Down
Senior Member
Senior Member


Joined: 04 September 2007
Status: Offline
Points: 106
Post Options Post Options   Thanks (0) Thanks(0)   Quote vjedlicka Quote  Post ReplyReply Direct Link To This Post Posted: 01 April 2016 at 11:07am
I am having problems with docking panels when System font size is set to 125%.

I am using ToolkitPro 17.1.0 on Windows 10.

Please have a look: 

Thank you
Vaclav
---------------------
ToolkitPro 18.5.0
VS2010, Windows 10
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Status: Offline
Points: 541
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 01 April 2016 at 3:26pm
It looks exactly as my Test 2 described above.

-cpede
Product: Xtreme ToolkitPro (18.0.1)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
olebed View Drop Down
Admin Group
Admin Group
Avatar

Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 831
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 01 April 2016 at 3:29pm
Hi,

We know about this issue. Unfortunately it is hard to fix.
Vaclav try to use SetAlphaDockingContext(TRUE)  yet.

Regards,
 Oleksandr Lebed
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.125 seconds.