Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - CXTPButton with Png Image
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPButton with Png Image

 Post Reply Post Reply
Author
Message
Augusdi View Drop Down
Newbie
Newbie
Avatar

Joined: 11 September 2009
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Augusdi Quote  Post ReplyReply Direct Link To This Post Topic: CXTPButton with Png Image
    Posted: 11 September 2009 at 3:17am
I display a png image on to CXTPButton do it Use Markup Method.
<TextBlock>I <InlineUIContainer BaselineAlignment='Center'><Image Source="res://Gear24px.png"/></InlineUIContainer> Markup</TextBlock>
 
But the problem is that: I want the image and text both in center, it is just the text and image both in the same center line in vertical.
 make them both center
Thanks.
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 14 September 2009 at 7:16am
Hi,
 
Don't put Image inside TextBlock then. Close TextBlock, add Image start another TextBlock.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Augusdi View Drop Down
Newbie
Newbie
Avatar

Joined: 11 September 2009
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Augusdi Quote  Post ReplyReply Direct Link To This Post Posted: 16 September 2009 at 8:21pm
Thank you very much for reply my answer.
I am not know well XTP, Can you give me a example code.
And I am interested in the markup language of XTP, Can you send some usage sheet?
Thanks.
Back to Top
Augusdi View Drop Down
Newbie
Newbie
Avatar

Joined: 11 September 2009
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Augusdi Quote  Post ReplyReply Direct Link To This Post Posted: 16 September 2009 at 8:25pm
I am use Xtreme ToolkitPro 13.0, but the help has little information CXTP... class and usage.
Can you send me some more detail help.
Thanks very much.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.