Rect Value AGAIN!!!!!!!
-
hi guys i need help on this real bad.... i posted this messege earlier but didnt solve the problem .. will someone plese respond to this .. please........... I have a MFC application dialog based.. has 2 dialog forms say dialog1 and dialog 2.. in dialog1 i have a picture holder (IDC_HOLDER). what i need to do is get the "Rect" value of that holder from dialog2 .. i can do that from dialog1 with CRect rc; GetDlgItem(IDC_HOLDER)->GetWindowRect(rc); but how to access that from dialog2.... i tried
CDialog1* dlg; dlg->GetDlgItem(IDC_HOLDER)->GetWindowRect(rc);
doesnot work... my whole project has come to HALT by this ... please help .. someone !!!!! thanks zm where are all the GURUS??? -
hi guys i need help on this real bad.... i posted this messege earlier but didnt solve the problem .. will someone plese respond to this .. please........... I have a MFC application dialog based.. has 2 dialog forms say dialog1 and dialog 2.. in dialog1 i have a picture holder (IDC_HOLDER). what i need to do is get the "Rect" value of that holder from dialog2 .. i can do that from dialog1 with CRect rc; GetDlgItem(IDC_HOLDER)->GetWindowRect(rc); but how to access that from dialog2.... i tried
CDialog1* dlg; dlg->GetDlgItem(IDC_HOLDER)->GetWindowRect(rc);
doesnot work... my whole project has come to HALT by this ... please help .. someone !!!!! thanks zm where are all the GURUS??? -
hi guys i need help on this real bad.... i posted this messege earlier but didnt solve the problem .. will someone plese respond to this .. please........... I have a MFC application dialog based.. has 2 dialog forms say dialog1 and dialog 2.. in dialog1 i have a picture holder (IDC_HOLDER). what i need to do is get the "Rect" value of that holder from dialog2 .. i can do that from dialog1 with CRect rc; GetDlgItem(IDC_HOLDER)->GetWindowRect(rc); but how to access that from dialog2.... i tried
CDialog1* dlg; dlg->GetDlgItem(IDC_HOLDER)->GetWindowRect(rc);
doesnot work... my whole project has come to HALT by this ... please help .. someone !!!!! thanks zm where are all the GURUS???