Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
W

wimel

@wimel
About
Posts
4
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to Translate a program or how can i make a program Translateble
    W wimel

    There are different way's to to that. The first one is to store every (yes, i mean every) label in a database. Before showing the label you must get it first from the database. It's very easy now to add a language. You only need to add a field for that language in the database. And a translater can fill in the new field. Your sourcecode remains the same. (no recompilations) The other way is to add every label to the stringtable of the resource. You need to recompile when you added a language. But you don't need a database. And the thirth way is the way I'll prefer for your project. Use a XML file with the labels for every language. It's not that hard to parse the XML-file. None of the techniques above are quick and easy to implement. You have to remove every label and get the label in the correct language succes ! W.

    C / C++ / MFC question tutorial

  • Text problem
    W wimel

    Yes, it's possible. But, not that easy. The format of a HTML file is the same of a XML file. They both use as tags. With XML there are a lot of possibilities. It all depends on what you want to do with the HTML-file. If you want to parse/change/edit take al look at the DOM-parser. Then it doesn't matter if the code looks like <head> </head> or <head></head> Another possibility is using XSLT for reformatting you XML file. Again, it's not that easy to start with. succes Wimel

    C / C++ / MFC html help

  • something circular with #include?
    W wimel

    Did you try prototyping ? Before you use a class into an other class you have to #include the header. If you only need a pointer to an other object, you can prototype this class. The compile knows the definition (pointer to a class) and the implementation is linked afterwards. Wimel -objectA.h- class objectA; class objectB { objectA* m_poA; } -objectB.h- class objectB; class objectA { objectB* m_poB; }

    C / C++ / MFC help question

  • Changing Colour in CDocument
    W wimel

    :mad:Try to read something about Doc-view architecture. Normally your document only contains the data. In your views you represent the data (text of graph or something else) D.W.

    C / C++ / MFC c++ tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups