Click here to Skip to main content
15,890,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to build a DataBase of data types (int, char, struct, …)? Pin
David Crow17-May-04 4:46
David Crow17-May-04 4:46 
GeneralRe: How to build a DataBase of data types (int, char, struct, …)? Pin
Michigan185417-May-04 4:53
Michigan185417-May-04 4:53 
GeneralRe: How to build a DataBase of data types (int, char, struct, …)? Pin
David Crow17-May-04 5:50
David Crow17-May-04 5:50 
GeneralRe: How to build a DataBase of data types (int, char, struct, …)? Pin
Michigan185417-May-04 6:04
Michigan185417-May-04 6:04 
GeneralComboBox (and/or ListBox) shared in two dialogs (MFC) Pin
J.B.17-May-04 3:53
J.B.17-May-04 3:53 
GeneralRe: ComboBox (and/or ListBox) shared in two dialogs (MFC) Pin
RChin17-May-04 4:31
RChin17-May-04 4:31 
GeneralRe: ComboBox (and/or ListBox) shared in two dialogs (MFC) Pin
J.B.17-May-04 4:45
J.B.17-May-04 4:45 
GeneralRe: ComboBox (and/or ListBox) shared in two dialogs (MFC) Pin
Rafael Fernández López17-May-04 9:42
Rafael Fernández López17-May-04 9:42 
I'd use a public CStringArray object. It would save all the entries in the CDialog1 and you should write something like this for the CDialog2::OnInitDialog():

(Imagine that your CStringArray object has been called "my_array")

for (int i=0; i<my_array.GetCount(); i++)
{
my_list_object.Add(my_array[i]);
}

Bye !! Wink | ;)

<hr><div style="width:100%; filter:Glow(color=003FB0, strength=5, strength=2);"><font color="#FFFFFF">Written by: Rafael Fernández López.</p>
Visit: <a href="http://www.maestroprogramador.com" target=_blank><font color="#FFFFFF">http://www.maestroprogramador.com</a></div>
GeneralRe: ComboBox (and/or ListBox) shared in two dialogs (MFC) Pin
J.B.17-May-04 19:54
J.B.17-May-04 19:54 
GeneralData mismatch for Intel C++ Release Pin
SandeepKumarSingh17-May-04 3:22
SandeepKumarSingh17-May-04 3:22 
GeneralRe: Data mismatch for Intel C++ Release Pin
bikram singh17-May-04 4:48
bikram singh17-May-04 4:48 
GeneralVC .DLL + Centura string Pin
JensB17-May-04 3:21
JensB17-May-04 3:21 
QuestionHow to change window title text font? Pin
george ivanov17-May-04 3:16
george ivanov17-May-04 3:16 
AnswerRe: How to change window title text font? Pin
Roger Allen17-May-04 3:44
Roger Allen17-May-04 3:44 
QuestionCan anyone explain? Pin
V.17-May-04 2:27
professionalV.17-May-04 2:27 
GeneralCompiler Error / math.h Pin
harwanegg17-May-04 2:03
harwanegg17-May-04 2:03 
GeneralRe: Compiler Error / math.h Pin
Roger Allen17-May-04 3:48
Roger Allen17-May-04 3:48 
GeneralRe: Compiler Error / math.h Pin
harwanegg17-May-04 5:34
harwanegg17-May-04 5:34 
GeneralDistributed, Concurrent, Networking Programming Pin
nguyenvhn17-May-04 1:04
nguyenvhn17-May-04 1:04 
GeneralRe: Distributed, Concurrent, Networking Programming Pin
valikac17-May-04 6:51
valikac17-May-04 6:51 
GeneralQuestion on Menu Events Pin
Abin17-May-04 0:30
Abin17-May-04 0:30 
GeneralRe: Question on Menu Events Pin
Michael Dunn17-May-04 0:45
sitebuilderMichael Dunn17-May-04 0:45 
GeneralRe: Question on Menu Events Pin
Abin17-May-04 3:42
Abin17-May-04 3:42 
GeneralXP stops updating my windows ... Pin
Martin Steiner17-May-04 0:24
Martin Steiner17-May-04 0:24 
GeneralRe: XP stops updating my windows ... Pin
Michael Dunn17-May-04 0:47
sitebuilderMichael Dunn17-May-04 0:47 

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.