![]() |
Strip markup tags |
Post Reply ![]() |
Author | |
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() Posted: 12 September 2008 at 5:33am |
How do I strip markup tags? Is there such a function?
Sometimes, my tagged strings have not been saved in their "clean" state so I need to remove all tags somehow.
Any ideas?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Check this post https://forum.codejock.com/forum_posts.asp?TID=10694.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
Thanks, but I'm not sure how to use that technique with CXTPTaskDialog. I want to get the inner text from all elements to implement Ctrl+C functionality.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Catch WM_KEYDOWN,
Check Ctrl+C,
Get Top MarkupElement with m_strContent.m_pUIElement and
get text from it.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
Thanks, will check m_strContent.m_pUIElement. Couldn't find it before :P
FYI, OnKeyDown will not do the trick when a button has focus. PreTranslateMessage is the way to go, and bComCtl32 must be set to FALSE! :)
|
|
![]() |
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 |