Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVS .NET MFC 7 Pin
shultas29-Dec-03 17:22
shultas29-Dec-03 17:22 
GeneralRe: VS .NET MFC 7 Pin
Michael Dunn29-Dec-03 17:54
sitebuilderMichael Dunn29-Dec-03 17:54 
Generalcreating help files Pin
will138329-Dec-03 16:06
will138329-Dec-03 16:06 
GeneralRe: creating help files Pin
Azghar Hussain30-Dec-03 1:47
professionalAzghar Hussain30-Dec-03 1:47 
GeneralRe: creating help files Pin
Roger Allen2-Jan-04 0:01
Roger Allen2-Jan-04 0:01 
QuestionHow to give high priority? Pin
Manikandan29-Dec-03 14:48
Manikandan29-Dec-03 14:48 
AnswerRe: How to give high priority? Pin
will138329-Dec-03 15:59
will138329-Dec-03 15:59 
GeneralBest way to incorporate information into program Pin
shultas29-Dec-03 14:32
shultas29-Dec-03 14:32 
Hello all.

I am building a program presently for a couple of people to work with. The program changes quite often (many times during the week) because it is in its Alpha stages. What I am wanting to do is incorporate a "help/about" button on some of the dialogs that will open up another window/dialog with some information in it.

Currently, I am using a listbox with no selection enabled. In my OnInitDialog() I have it populate this listbox using AddString(). This listbox I have setup to be "non selectable" so that you can just read and scroll.

I am wondering, is this the best way to do it, or is there some other control that I can use to put text into and allow the user to scroll up and down (without being able to select individual lines).

Also, if listbox w/ none selection enabled is the best way, I am wondering if there is a way I can make this process easier on myself. Currently, I have to have lots and lots of AddString()'s in there to put the help. When I make changes so often to the program, I have to spend a lot of time going through the AddString() statements to reflect the changes that I've made. What I'm really looking for is a way that I can have a text file that gets compiled into the APP during a compile. This way, I can have a text file that I can open up in textpad and make modifications to after I make code changes, and then, once I recompile, voila, all that information in that text file gets compiled into the .EXE. (I want to get away from having to distribute the APP with the .TXT file and having to reinstall the text file every time I re-release the new alpha version. I don't want a "disk read" in order to populate this "list box".

Any ideas on the best method of incorporating this would be greatly appreciated.

Shultas
GeneralRe: Best way to incorporate information into program Pin
Michael Dunn29-Dec-03 15:32
sitebuilderMichael Dunn29-Dec-03 15:32 
QuestionHow to know where my app is ?? Pin
Rafael Fernández López29-Dec-03 10:53
Rafael Fernández López29-Dec-03 10:53 
AnswerRe: How to know where my app is ?? Pin
Nitron29-Dec-03 11:00
Nitron29-Dec-03 11:00 
GeneralRe: How to know where my app is ?? Pin
Rafael Fernández López29-Dec-03 11:43
Rafael Fernández López29-Dec-03 11:43 
GeneralRe: How to know where my app is ?? Pin
Rickard Andersson2029-Dec-03 12:32
Rickard Andersson2029-Dec-03 12:32 
GeneralRe: How to know where my app is ?? Pin
Nitron29-Dec-03 13:05
Nitron29-Dec-03 13:05 
GeneralRe: How to know where my app is ?? Pin
David Crow30-Dec-03 5:44
David Crow30-Dec-03 5:44 
GeneralVS .NET Pin
Anonymous29-Dec-03 10:03
Anonymous29-Dec-03 10:03 
GeneralRe: VS .NET Pin
Nitron29-Dec-03 11:03
Nitron29-Dec-03 11:03 
GeneralRe: VS .NET Pin
shultas29-Dec-03 15:27
shultas29-Dec-03 15:27 
GeneralRe: VS .NET Pin
Michael Dunn29-Dec-03 15:36
sitebuilderMichael Dunn29-Dec-03 15:36 
GeneralRe: VS .NET Pin
shultas29-Dec-03 16:37
shultas29-Dec-03 16:37 
GeneralRe: VS .NET Pin
Tim Smith29-Dec-03 18:40
Tim Smith29-Dec-03 18:40 
GeneralRe: VS .NET Pin
Anonymous29-Dec-03 20:38
Anonymous29-Dec-03 20:38 
GeneralRe: VS .NET Pin
Tim Smith30-Dec-03 1:00
Tim Smith30-Dec-03 1:00 
GeneralRe: VS .NET Pin
Anonymous30-Dec-03 22:36
Anonymous30-Dec-03 22:36 
GeneralIterator Pin
Andre Pham29-Dec-03 8:31
Andre Pham29-Dec-03 8:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.