Click here to Skip to main content
15,921,113 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Nested Functions Pin
David Crow11-Jun-04 2:17
David Crow11-Jun-04 2:17 
Generalerror! repeatedly calling the same MFC dialog box in vc++ Pin
shiva shankar10-Jun-04 20:59
shiva shankar10-Jun-04 20:59 
GeneralRe: error! repeatedly calling the same MFC dialog box in vc++ Pin
Johan Rosengren10-Jun-04 21:13
Johan Rosengren10-Jun-04 21:13 
GeneralRe: error! repeatedly calling the same MFC dialog box in vc++ Pin
shiva shankar10-Jun-04 22:00
shiva shankar10-Jun-04 22:00 
GeneralRe: error! repeatedly calling the same MFC dialog box in vc++ Pin
Johan Rosengren10-Jun-04 22:19
Johan Rosengren10-Jun-04 22:19 
Questionhow to set font size to a particular item in Listcontrol box Pin
Member 101812810-Jun-04 20:51
Member 101812810-Jun-04 20:51 
AnswerRe: how to set font size to a particular item in Listcontrol box Pin
Johan Rosengren10-Jun-04 21:17
Johan Rosengren10-Jun-04 21:17 
Questionhow to access form controls in another view Pin
elephantstar10-Jun-04 20:36
elephantstar10-Jun-04 20:36 
Hi there,

I have a class called CChecklist that derives from CFormview and a checkmark image that I made invisible until the user finishes entry of another view called CFruits. How can I access IDC_CHECKMARK from CFruits class? I tried creating a object of class CChecklist to access its member function in order to change the visibility property of the control, but it gave me a run-time error. Please see below. How can I accomplish this?

void CCheckList::makeVisible()
{
GetDlgItem(IDC_CHECKMARK)->ShowWindow(TRUE);
}

void CFruits::OnOK()
{
CChecklist cl;
cl.makeVisible(); //run-time error
PostMessage(WM_COMMAND,ID_FILE_CLOSE);
}
AnswerRe: how to access form controls in another view Pin
Johan Rosengren10-Jun-04 21:09
Johan Rosengren10-Jun-04 21:09 
GeneralRe: how to access form controls in another view Pin
elephantstar11-Jun-04 12:49
elephantstar11-Jun-04 12:49 
GeneralRe: how to access form controls in another view Pin
Johan Rosengren14-Jun-04 8:56
Johan Rosengren14-Jun-04 8:56 
GeneralRe: how to access form controls in another view Pin
elephantstar14-Jun-04 13:01
elephantstar14-Jun-04 13:01 
GeneralRe: how to access form controls in another view Pin
Johan Rosengren14-Jun-04 20:23
Johan Rosengren14-Jun-04 20:23 
AnswerRe: how to access form controls in another view Pin
Cohen10-Jun-04 21:09
Cohen10-Jun-04 21:09 
GeneralCDialog1Dlg Class is not appeared in class view tab. Pin
Rajesh_K_Sharma10-Jun-04 19:04
Rajesh_K_Sharma10-Jun-04 19:04 
GeneralRe: CDialog1Dlg Class is not appeared in class view tab. Pin
*Dreamz10-Jun-04 19:15
*Dreamz10-Jun-04 19:15 
GeneralRe: CDialog1Dlg Class is not appeared in class view tab. Pin
ThatsAlok11-Jun-04 5:19
ThatsAlok11-Jun-04 5:19 
Generalsending a packet of data to a server Pin
Anonymous10-Jun-04 19:02
Anonymous10-Jun-04 19:02 
GeneralRe: sending a packet of data to a server Pin
bikram singh10-Jun-04 19:24
bikram singh10-Jun-04 19:24 
GeneralRe: sending a packet of data to a server Pin
Anonymous10-Jun-04 19:30
Anonymous10-Jun-04 19:30 
GeneralVC++ : Registry Pin
10-Jun-04 18:34
suss10-Jun-04 18:34 
GeneralRe: VC++ : Registry Pin
bikram singh10-Jun-04 18:52
bikram singh10-Jun-04 18:52 
GeneralRe: VC++ : Registry Pin
Member 102316912-Jun-04 16:10
Member 102316912-Jun-04 16:10 
GeneralJesus H Christ !!!!!! Pin
bikram singh13-Jun-04 1:20
bikram singh13-Jun-04 1:20 
QuestionHow to display images dynamically Pin
Neeranjan10-Jun-04 18:23
Neeranjan10-Jun-04 18:23 

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.