Thread: how to convert the dialog box to xaml

  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    8

    how to convert the dialog box to xaml

    I am programming a program to run on the win CE 5.0 by using VC++, so all the UI, buttons shown on the screen are in the dialogbox(resource file), but now i want to change all this button and other UI button to use .XAML format (VS 2008), how to do about it, thanks!

  2. #2
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    You mean WPF? Is it possible to convert? Why doing that?
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  3. #3
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,608
    http://cboard.cprogramming.com/tech-...ml-format.html

    You've already been informed about how to do this. Stop posting and start trying.

  4. #4
    Registered User
    Join Date
    Mar 2010
    Posts
    8
    Quote Originally Posted by Bubba View Post
    http://cboard.cprogramming.com/tech-...ml-format.html

    You've already been informed about how to do this. Stop posting and start trying.

    thanks for your answer, but i still don't understand what is "to design your dialog in the WPF resource editor". i already designed my dialog in the WPF, but i want to know is that how to transfer all the properties of the dialog box in *.rc (vs 2005) into *.xaml in WPF of the vs2008, in a easy way, please don mind tell me more details about that. your help is much appreciate, thanks!

  5. #5
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    There is no easy way to transform a VS2005 C++ resource file to a VS2008 C# resource file. It doesn't make sense to even try to automate this, because any information about what is cool in WPF was not saved to the .rc file in C++.

    You have to create a new WPF dialog. From scratch.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to program a "back" button with MFC
    By 99atlantic in forum Windows Programming
    Replies: 3
    Last Post: 04-26-2005, 08:34 PM
  2. validate data in a dialog box
    By COBOL2C++ in forum Windows Programming
    Replies: 4
    Last Post: 09-22-2003, 01:55 PM
  3. Dialog Box Resources
    By Mecnels in forum Windows Programming
    Replies: 2
    Last Post: 04-28-2003, 05:57 AM
  4. edit control in dialog box problems
    By Bajanine in forum Windows Programming
    Replies: 11
    Last Post: 11-11-2002, 06:55 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM