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

C / C++ / MFC

 
GeneralRe: Dynamic bitmaps in MFC dialog Pin
Timothy Grabrian11-Apr-04 15:19
professionalTimothy Grabrian11-Apr-04 15:19 
GeneralRe: Dynamic bitmaps in MFC dialog Pin
John R. Shaw11-Apr-04 23:13
John R. Shaw11-Apr-04 23:13 
QuestionTEXT? Pin
Timothy Grabrian11-Apr-04 14:29
professionalTimothy Grabrian11-Apr-04 14:29 
AnswerRe: TEXT? Pin
Prakash Nadar11-Apr-04 15:59
Prakash Nadar11-Apr-04 15:59 
AnswerRe: TEXT? Pin
avenger_sb2511-Apr-04 18:18
avenger_sb2511-Apr-04 18:18 
AnswerRe: TEXT? Pin
John R. Shaw11-Apr-04 23:31
John R. Shaw11-Apr-04 23:31 
Generalconsole app w/ActiveX control Pin
sbeausol11-Apr-04 14:21
sbeausol11-Apr-04 14:21 
GeneralHelp->Communication between "frames" in a window. Pin
Victor Nikol11-Apr-04 14:20
Victor Nikol11-Apr-04 14:20 
I have a VC++ MFC AppWizard exe project,and I have add these two classes to the project:
class CRightView : public CFormView
class CImageView : public CView
In the Right View class I have a button. In the ImageView class I have nothing.

I redefined the CMainFrame::OnCreateClient method,adding:
m_wndSplitter.CreateStatic(this,1,2); m_wndSplitter.CreateView(0,0,RUNTIME_CLASS(CImageView),CSize(0,0),pContext);
m_wndSplitter.CreateView(0,1,RUNTIME_CLASS(CRightView),CSize(0,0),pContext);

Now I can't manage to "communicate" between both frames. I can see in the result window both frames,and the button in the RightView frame, but when I push that button,even a simple "void CRightView::OnOK() {AfxMessageBox("HI");}" is not working, and nothing shows up. What's wrong here?

Thanks.
GeneralCreating Animated GIFS Pin
DanYELL11-Apr-04 12:34
DanYELL11-Apr-04 12:34 
GeneralRe: Creating Animated GIFS Pin
l a u r e n11-Apr-04 17:54
l a u r e n11-Apr-04 17:54 
GeneralRetrieving image from Clipboard Pin
Anonymous11-Apr-04 10:31
Anonymous11-Apr-04 10:31 
GeneralRe: Retrieving image from Clipboard Pin
Anonymous11-Apr-04 10:32
Anonymous11-Apr-04 10:32 
GeneralRe: Retrieving image from Clipboard Pin
Ravi Bhavnani11-Apr-04 11:33
professionalRavi Bhavnani11-Apr-04 11:33 
GeneralIphlpapi and Divide by Zero Exception Pin
User 1278211-Apr-04 9:40
User 1278211-Apr-04 9:40 
GeneralRe: Iphlpapi and Divide by Zero Exception Pin
Antti Keskinen11-Apr-04 11:36
Antti Keskinen11-Apr-04 11:36 
GeneralRe: Iphlpapi and Divide by Zero Exception Pin
User 1278213-Apr-04 11:11
User 1278213-Apr-04 11:11 
Generalclistctrl row hilight Pin
r00k1311-Apr-04 9:25
r00k1311-Apr-04 9:25 
GeneralRe: clistctrl row hilight Pin
Anonymous11-Apr-04 12:11
Anonymous11-Apr-04 12:11 
GeneralRe: clistctrl row hilight Pin
r00k1311-Apr-04 12:53
r00k1311-Apr-04 12:53 
GeneralRe: clistctrl row hilight Pin
Anonymous11-Apr-04 15:29
Anonymous11-Apr-04 15:29 
GeneralRe: clistctrl row hilight Pin
r00k1311-Apr-04 17:37
r00k1311-Apr-04 17:37 
GeneralRe: clistctrl row hilight Pin
Chris Richardson11-Apr-04 19:48
Chris Richardson11-Apr-04 19:48 
GeneralSecurity issue Pin
tank102511-Apr-04 6:55
tank102511-Apr-04 6:55 
GeneralRe: Security issue Pin
toxcct11-Apr-04 22:08
toxcct11-Apr-04 22:08 
GeneralSimple mathematical equations and graphs Pin
shanhotmale11-Apr-04 5:58
shanhotmale11-Apr-04 5:58 

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.