XTPSkinManager->LoadSkin and Direct2D *BUG* |
Post Reply |
Author | |
Marecki Marek
Newbie Joined: 30 September 2024 Location: Poland Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 13 November 2024 at 8:46am |
All windows, frame and status bars are flashing when app window is resizing
and Direct2D BeginDraw(), EndDraw() are calling. There is no need to draw anything, just call Direct2D HwndRenderTarget BeginDraw() and EndDraw(). The problem exist after XTPSkinManager->LoadSkin() is used and HwndRenderTarget is created using flag D2D1_RENDER_TARGET_TYPE_HARDWARE. With D2D1_RENDER_TARGET_TYPE_SOFTWARE flag is used instead HARDWARE or XTPSkinManager->LoadSkin() is not called everything works ok. |
|
astoyan
Admin Group Joined: 24 August 2013 Status: Offline Points: 304 |
Post Options
Thanks(0)
|
Hello Marek, try to call XTPSkinManager()->Remove(hwndRenderTarget) after a skin is loaded and D2D window is created. Hopefully it'll help.
|
|
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 |