CXTPSkinObjectToolBar::IsHorizontal() |
Post Reply |
Author | |
Greg Pryor
Newbie Joined: 19 September 2023 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 19 September 2023 at 3:24pm |
This function is looking at the parent window style instead of its own style.
What class of parent window is it expecting to find?
In my case the parent window is a MFC CFrameWnd which uses some of the style bits differently than CXTPSkinObjectToolBar is expecting. // (MFC) Frame window styles #define FWS_ADDTOTITLE 0x00008000L // modify title based on content #define FWS_PREFIXTITLE 0x00004000L // show document name before app name #define FWS_SNAPTOBARS 0x00002000L // snap size to size of contained bars // ControlBar styles #define CBRS_ALIGN_LEFT 0x1000L #define CBRS_ALIGN_TOP 0x2000L #define CBRS_ALIGN_RIGHT 0x4000L #define CBRS_ALIGN_BOTTOM 0x8000L #define CBRS_ALIGN_ANY 0xF000L #define CBRS_ORIENT_VERT (CBRS_ALIGN_LEFT|CBRS_ALIGN_RIGHT) |
|
matsjansson
Groupie Joined: 09 May 2023 Location: Solna Status: Offline Points: 17 |
Post Options
Thanks(0)
|
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 |