Click here to Skip to main content
15,888,286 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to change the color and title of AfxmessageBox Pin
Graham Bradshaw10-Oct-03 6:05
Graham Bradshaw10-Oct-03 6:05 
GeneralRe: How to change the color and title of AfxmessageBox Pin
Graham Bradshaw10-Oct-03 6:07
Graham Bradshaw10-Oct-03 6:07 
GeneralRecursively reading from registry Pin
mark%whitedust.net10-Oct-03 4:02
mark%whitedust.net10-Oct-03 4:02 
GeneralRe: Recursively reading from registry Pin
Jonathan [Darka]10-Oct-03 4:10
professionalJonathan [Darka]10-Oct-03 4:10 
GeneralRe: Recursively reading from registry Pin
mark%whitedust.net10-Oct-03 4:18
mark%whitedust.net10-Oct-03 4:18 
GeneralRe: Recursively reading from registry Pin
Jonathan [Darka]10-Oct-03 4:20
professionalJonathan [Darka]10-Oct-03 4:20 
GeneralRe: Recursively reading from registry Pin
Michael Dunn10-Oct-03 4:53
sitebuilderMichael Dunn10-Oct-03 4:53 
QuestionHow to call virtual method at CWnd derived class? Pin
vgrigor10-Oct-03 3:49
vgrigor10-Oct-03 3:49 
How to call virtual method at CWnd derived class,
- with mutual inheritance?

that is:
I create commin class with virtual method,
make it parent of some CDialog derived class,

than when a Want to call I assign pointer to CDialog to
that common class, and call virtual method -
and
access violation ERROR !!
why so happens?

where I did error ?

code is

<br />
<br />
class CCustomUpdaterTrait<br />
{<br />
  public:<br />
  virtual void CustomUpdate()//=0;<br />
  {};<br />
};<br />
<br />
class CDialogDerived: public CDilogBitmap,public CCustomUpdaterTrait<br />
{<br />
<br />
<br />
};<br />
<br />
class CCustomUpdaterCaller: public CCustomUpdaterTrait<br />
{<br />
   <br />
  f(CWnd* pWnd)<br />
  {<br />
          <br />
    CCustomUpdaterTrait pTrait = (CWnd*) pWnd;<br />
<br />
<br />
     pTrait->CustomUpdate(); //Call here - access violation ERROR !!<br />
<br />
  };<br />
};<br />
<br />


thanks
QuestionHow to use CXIMAGE for printing??? Pin
radha vijay10-Oct-03 2:46
radha vijay10-Oct-03 2:46 
Generalhowto do a splitter in mfc without using views Pin
HeiniBlad10-Oct-03 2:46
HeiniBlad10-Oct-03 2:46 
GeneralRe: howto do a splitter in mfc without using views Pin
jhwurmbach10-Oct-03 2:52
jhwurmbach10-Oct-03 2:52 
Generalfunction template Pin
[CoY0te]10-Oct-03 2:36
[CoY0te]10-Oct-03 2:36 
Generalfunction template (update) Pin
[CoY0te]10-Oct-03 3:15
[CoY0te]10-Oct-03 3:15 
GeneralC/C++ goodies here! Pin
TW10-Oct-03 2:21
TW10-Oct-03 2:21 
GeneralRe: C/C++ goodies here! Pin
Anthony_Yio10-Oct-03 23:16
Anthony_Yio10-Oct-03 23:16 
GeneralUnable to change menus in Visual C++ 6 Pin
Oliver Christian Kjær10-Oct-03 1:50
Oliver Christian Kjær10-Oct-03 1:50 
GeneralRe: Unable to change menus in Visual C++ 6 Pin
Steve S10-Oct-03 1:57
Steve S10-Oct-03 1:57 
GeneralRe: Unable to change menus in Visual C++ 6 Pin
Oliver Christian Kjær10-Oct-03 2:29
Oliver Christian Kjær10-Oct-03 2:29 
GeneralRe: Unable to change menus in Visual C++ 6 Pin
Oliver Christian Kjær10-Oct-03 3:28
Oliver Christian Kjær10-Oct-03 3:28 
GeneralRe: Unable to change menus in Visual C++ 6 Pin
Steve S13-Oct-03 5:31
Steve S13-Oct-03 5:31 
GeneralRe: Unable to change menus in Visual C++ 6 Pin
Oliver Christian Kjær14-Oct-03 21:41
Oliver Christian Kjær14-Oct-03 21:41 
Generalfloat precision Pin
OO-P10-Oct-03 1:11
OO-P10-Oct-03 1:11 
GeneralRe: float precision Pin
Anthony_Yio10-Oct-03 1:33
Anthony_Yio10-Oct-03 1:33 
GeneralRichEdit with Treeview - associating and saving Pin
Kayembi10-Oct-03 0:49
Kayembi10-Oct-03 0:49 
GeneralRe: RichEdit with Treeview - associating and saving Pin
Steve S10-Oct-03 1:42
Steve S10-Oct-03 1:42 

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.