CXTPMarkupObject position |
Post Reply |
Author | |
BobWansink
Groupie Joined: 24 January 2008 Status: Offline Points: 59 |
Post Options
Thanks(0)
Posted: 26 February 2009 at 9:35am |
hi!
I'm trying to find the position of one of the CXTPMarkupBorder objects in my window. I thought GetFinalRect() or GetBoundRect() would find it, but alas... How do i find the CRect of a MarkupObject? Thanks in advance. Bob |
|
Product: Xtreme ToolkitPro (MFC) version 13.0.0
Platform: Windows (32bit) - XP - Vista Language: Visual C++ |
|
BobWansink
Groupie Joined: 24 January 2008 Status: Offline Points: 59 |
Post Options
Thanks(0)
|
Ah, found it myself:
CXTPMarkupContext::GetClientBoundingRect(CXTPMarkupInputElement * pUIElement); returns the position of the element relative to the context it is in. I needed it to enable contextmenu's. |
|
Product: Xtreme ToolkitPro (MFC) version 13.0.0
Platform: Windows (32bit) - XP - Vista Language: Visual C++ |
|
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 |