Re: Copying projects

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"R.Kaiser" <rk@xxxxxxxxxxxxxxxxxx> wrote in message
news:OAWP8lCVGHA.776@xxxxxxxxxxxxxxxxxxxxxxx
Ajay Kalra schrieb:
You can have both the titles in source code. Based on some external
setting(registry, text file etc) set it to whatever you want.

---
Ajay


I don't understand how you mean that.



For illustration purposes, let say there is a text file (Title.txt) with
following text:

1

In your code, you open the file and read the line. If its 1, put whatever
title you want. If its 2, put the other title etc. Idea is to keep all the
logic in code and decide what title is displayed at run time. You could
simply choose to replace the content of Title.txt with actual title itself.
Then simply read it and put the title on the window.

--
Ajay Kalra [MVP - VC++]
ajaykalra@xxxxxxxxx




.