Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - does the xaml in a CXTButton backup jpg images?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

does the xaml in a CXTButton backup jpg images?

 Post Reply Post Reply
Author
Message
rienzi View Drop Down
Groupie
Groupie


Joined: 20 August 2009
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote rienzi Quote  Post ReplyReply Direct Link To This Post Topic: does the xaml in a CXTButton backup jpg images?
    Posted: 15 December 2009 at 2:29am
can i use <Image Source="res://1.jpg" \> to draw a jpg image on a CXTButton object?
 
 
if the answer is yes, then how can  I change the jpg image's directory and let the button display jpg images anywhere in my disk
 
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: 15 December 2009 at 4:54am
Hi,
 
You need file:// protocol:
 
 <Image Source="file://c:\\dir\\1.jpg" \>
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.156 seconds.