Click here to Skip to main content
15,913,758 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Login Password Pin
Member 64882829-Dec-03 20:58
Member 64882829-Dec-03 20:58 
GeneralRe: Login Password Pin
Azghar Hussain30-Dec-03 1:44
professionalAzghar Hussain30-Dec-03 1:44 
GeneralRe: Login Password Pin
Anonymous2-Jan-04 21:17
Anonymous2-Jan-04 21:17 
GeneralRe: Login Password Pin
Azghar Hussain3-Jan-04 0:48
professionalAzghar Hussain3-Jan-04 0:48 
QuestionMDI as SDI app? Pin
clintsinger29-Dec-03 19:41
clintsinger29-Dec-03 19:41 
AnswerRe: MDI as SDI app? Pin
twing29-Dec-03 21:32
twing29-Dec-03 21:32 
GeneralRe: MDI as SDI app? Pin
Azghar Hussain30-Dec-03 2:11
professionalAzghar Hussain30-Dec-03 2:11 
QuestionHow did i get here ? Pin
Monty229-Dec-03 18:59
Monty229-Dec-03 18:59 
AnswerCome on guys ! Pin
Monty230-Dec-03 2:00
Monty230-Dec-03 2:00 
AnswerRe: How did i get here ? Pin
Hauptman(n)30-Dec-03 2:36
Hauptman(n)30-Dec-03 2:36 
AnswerRe: How did i get here ? Pin
David Crow30-Dec-03 5:39
David Crow30-Dec-03 5:39 
GeneralRe: How did i get here ? Pin
Monty230-Dec-03 16:06
Monty230-Dec-03 16:06 
GeneralRe: How did i get here ? Pin
David Crow3-Jan-04 4:28
David Crow3-Jan-04 4:28 
GeneraldcPrint Pin
JKohm29-Dec-03 17:23
JKohm29-Dec-03 17:23 
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 

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.