Click here to Skip to main content
15,883,843 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to get handle of PowerPoint window from taskbar? Pin
Md. Ali Naser Khan24-Mar-09 0:24
Md. Ali Naser Khan24-Mar-09 0:24 
GeneralRe: How to get handle of PowerPoint window from taskbar? Pin
Eytukan24-Mar-09 1:16
Eytukan24-Mar-09 1:16 
QuestionAdding Images in Combobox Pin
Rakesh523-Mar-09 18:33
Rakesh523-Mar-09 18:33 
AnswerRe: Adding Images in Combobox Pin
Chandrasekharan P23-Mar-09 18:43
Chandrasekharan P23-Mar-09 18:43 
GeneralRe: Adding Images in Combobox Pin
Rakesh523-Mar-09 18:50
Rakesh523-Mar-09 18:50 
AnswerRe: Adding Images in Combobox Pin
Eytukan23-Mar-09 19:12
Eytukan23-Mar-09 19:12 
GeneralRe: Adding Images in Combobox Pin
Rakesh523-Mar-09 19:42
Rakesh523-Mar-09 19:42 
QuestionClosing of view Pin
prithaa23-Mar-09 18:06
prithaa23-Mar-09 18:06 
Hello,

I have a project without document-view architecture. I added a (TableF)childframe derived from CMDIChildWnd and a (HeadView) childview derived from CView which is a member of childframe. When I execute, the childframe that is the window is been made properly with the view but the window gives debug assertion error while closing.

class TableF : public CMDIChildWnd
{
DECLARE_DYNCREATE(TableF)
protected:
TableF();
protected:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual ~TableF();
HeadView Heading ;
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
DECLARE_MESSAGE_MAP()
};



class HeadView : public CView
{
//protected:
public:
HeadView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(HeadView)
public:
//Operations
public:
virtual void OnInitialUpdate();
//protected:
public :
virtual void OnDraw(CDC* pDC); // overridden to draw this view
public :
virtual ~HeadView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
}


The above are the view and frame classes.
AnswerRe: Closing of view Pin
CPallini23-Mar-09 22:47
mveCPallini23-Mar-09 22:47 
GeneralRe: Closing of view Pin
prithaa23-Mar-09 23:44
prithaa23-Mar-09 23:44 
GeneralRe: Closing of view Pin
prithaa24-Mar-09 1:58
prithaa24-Mar-09 1:58 
QuestionPreventing MDI doc/view from getting the focus when main frame is selected Pin
Joe Colosi23-Mar-09 17:37
Joe Colosi23-Mar-09 17:37 
QuestionSubchunk1Size while creating a wav file? Pin
Maxwell Chen23-Mar-09 17:00
Maxwell Chen23-Mar-09 17:00 
QuestionAn ADT class in MFC Dialog Pin
SirtanJedua23-Mar-09 13:35
SirtanJedua23-Mar-09 13:35 
AnswerRe: An ADT class in MFC Dialog Pin
Eytukan23-Mar-09 20:15
Eytukan23-Mar-09 20:15 
Questionhow i can resolve this problem???????????? Pin
josephsaliba23-Mar-09 12:45
josephsaliba23-Mar-09 12:45 
AnswerRe: how i can resolve this problem???????????? Pin
Eytukan23-Mar-09 20:10
Eytukan23-Mar-09 20:10 
QuestionNot able to use volume control functions in MCI Pin
John50223-Mar-09 8:24
John50223-Mar-09 8:24 
AnswerRe: Not able to use volume control functions in MCI Pin
aks.23-Mar-09 19:04
aks.23-Mar-09 19:04 
QuestionRadio Btns in Studio2008 - help Pin
john john mackey23-Mar-09 8:04
john john mackey23-Mar-09 8:04 
AnswerRe: Radio Btns in Studio2008 - help Pin
TinyDevices23-Mar-09 8:17
professionalTinyDevices23-Mar-09 8:17 
GeneralRe: Radio Btns in Studio2008 - help Pin
john john mackey23-Mar-09 8:23
john john mackey23-Mar-09 8:23 
GeneralRe: Radio Btns in Studio2008 - help Pin
Eytukan23-Mar-09 19:05
Eytukan23-Mar-09 19:05 
GeneralRe: Radio Btns in Studio2008 - help Pin
john john mackey26-Mar-09 2:55
john john mackey26-Mar-09 2:55 
QuestionHow to Write DllMain Function Pin
dataminers23-Mar-09 6:49
dataminers23-Mar-09 6:49 

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.