Click here to Skip to main content
15,910,234 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: BlackJack Pin
nywebhead19-May-02 12:24
nywebhead19-May-02 12:24 
GeneralWindow Font Pin
Levon19-May-02 3:53
Levon19-May-02 3:53 
GeneralRe: Window Font Pin
19-May-02 5:05
suss19-May-02 5:05 
GeneralRe: Window Font Pin
19-May-02 5:11
suss19-May-02 5:11 
GeneralRe: Window Font Pin
19-May-02 5:11
suss19-May-02 5:11 
GeneralActiveX Pin
Tzoockee19-May-02 3:43
Tzoockee19-May-02 3:43 
GeneralRe: ActiveX Pin
Bill Wilson20-May-02 8:55
Bill Wilson20-May-02 8:55 
GeneralGet Dialog from View Pin
tongc19-May-02 3:00
tongc19-May-02 3:00 
hi, i'm implementing and MFC SDI application. I've inserted a new Dialog and put 1 list box in there. When i tried to add the string to the list box from the View in MFC it just display erorr. Here is the code fragment that i used in my view class:

CAss3_q1Doc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);

	Dlg dialog;
	 
	dialog.DoModal();
	for (int i = 0; i< 4; i++)
	{
		dialog.m_team1.AddString(pDoc->A.getTeam(i));
	}


It just didnt' load up and give me runtime error. ANy hints or tips.
Note: I tried to load the 4 CString object to the list, and this 4 string is in a class call group that have the method as below
CString Group::getTeam(i)
{
    return team[i];
}


Cheers
GeneralRe: Get Dialog from View Pin
Ravi Bhavnani19-May-02 3:37
professionalRavi Bhavnani19-May-02 3:37 
GeneralStupid question about printing Pin
HenrikO19-May-02 1:33
HenrikO19-May-02 1:33 
GeneralRe: Stupid question about printing Pin
19-May-02 3:40
suss19-May-02 3:40 
GeneralRe: Stupid question about printing Pin
HenrikO19-May-02 6:20
HenrikO19-May-02 6:20 
GeneralSee-Through GroupBox Pin
Sara Burns18-May-02 23:08
Sara Burns18-May-02 23:08 
GeneralRe: See-Through GroupBox Pin
Nish Nishant18-May-02 23:10
sitebuilderNish Nishant18-May-02 23:10 
GeneralPassing 2-D array in function Pin
oRion18-May-02 21:01
oRion18-May-02 21:01 
GeneralRe: Passing 2-D array in function Pin
Nish Nishant18-May-02 21:28
sitebuilderNish Nishant18-May-02 21:28 
GeneralRe: Passing 2-D array in function Pin
Aizik Yair18-May-02 22:38
Aizik Yair18-May-02 22:38 
GeneralRe: Passing 2-D array in function Pin
squizz19-May-02 2:52
squizz19-May-02 2:52 
GeneralRe: Passing 2-D array in function Pin
Alexandru Savescu19-May-02 7:27
Alexandru Savescu19-May-02 7:27 
GeneralAdding MFC support to ATL service ... Pin
ramdili18-May-02 16:51
ramdili18-May-02 16:51 
GeneralRe: Adding MFC support to ATL service ... Pin
Nish Nishant18-May-02 18:11
sitebuilderNish Nishant18-May-02 18:11 
GeneralRe: Adding MFC support to ATL service ... Pin
ramdili18-May-02 18:58
ramdili18-May-02 18:58 
GeneralRe: Adding MFC support to ATL service ... Pin
Rama Krishna Vavilala18-May-02 18:39
Rama Krishna Vavilala18-May-02 18:39 
GeneralRe: Adding MFC support to ATL service ... Pin
ramdili18-May-02 19:32
ramdili18-May-02 19:32 
GeneralDeskbands Pin
18-May-02 13:12
suss18-May-02 13:12 

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.