Click here to Skip to main content
15,900,511 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Creating header - CListCtrl Pin
Michael Schubert4-Mar-09 5:40
Michael Schubert4-Mar-09 5:40 
QuestionRe: Creating header - CListCtrl Pin
grassrootkit4-Mar-09 6:20
grassrootkit4-Mar-09 6:20 
AnswerRe: Creating header - CListCtrl Pin
Stuart Dootson4-Mar-09 6:25
professionalStuart Dootson4-Mar-09 6:25 
GeneralRe: Creating header - CListCtrl Pin
grassrootkit4-Mar-09 6:31
grassrootkit4-Mar-09 6:31 
GeneralRe: Creating header - CListCtrl Pin
grassrootkit4-Mar-09 6:33
grassrootkit4-Mar-09 6:33 
GeneralRe: Creating header - CListCtrl Pin
grassrootkit4-Mar-09 6:25
grassrootkit4-Mar-09 6:25 
QuestionFrom A FrameWindow Pin
grassrootkit4-Mar-09 3:37
grassrootkit4-Mar-09 3:37 
AnswerRe: From A FrameWindow Pin
Stuart Dootson4-Mar-09 5:45
professionalStuart Dootson4-Mar-09 5:45 
grassrootkit wrote:
I want to handle menu events in my View. But my CFrameWnd is actually capturing the events of the Frame level


Only if you have relevant handlers in your frame?

I have a vanilla SDI app. I've just added a handler for ID_FILE_OPEN to the view class. It caught the relevant message.

For the maximize event, you will have to explicitly route the message. Add the following handler to your frame class and your view should get visibility of maximize events.

void CMainFrame::OnSysCommand(UINT nID, LPARAM lParam)
{
   GetActiveView()->SendMessage(WM_SYSCOMMAND, nID, lParam);

   CFrameWndEx::OnSysCommand(nID, lParam);
}


Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: From A FrameWindow Pin
grassrootkit4-Mar-09 6:14
grassrootkit4-Mar-09 6:14 
GeneralRe: From A FrameWindow Pin
grassrootkit4-Mar-09 6:17
grassrootkit4-Mar-09 6:17 
GeneralRe: From A FrameWindow Pin
Stuart Dootson4-Mar-09 6:22
professionalStuart Dootson4-Mar-09 6:22 
Questionuse of MFC library Pin
hrishiS4-Mar-09 2:43
hrishiS4-Mar-09 2:43 
AnswerRe: use of MFC library Pin
Cedric Moonen4-Mar-09 2:46
Cedric Moonen4-Mar-09 2:46 
AnswerRe: use of MFC library Pin
Maximilien4-Mar-09 2:50
Maximilien4-Mar-09 2:50 
AnswerRe: use of MFC library Pin
Eytukan4-Mar-09 3:23
Eytukan4-Mar-09 3:23 
Questionspread controller..i am using farpoint Pin
coding_ram4-Mar-09 1:42
coding_ram4-Mar-09 1:42 
QuestionRe: spread controller..i am using farpoint Pin
David Crow4-Mar-09 3:10
David Crow4-Mar-09 3:10 
Questiondraw a arc betwwen two lines and then find angle Pin
vikas choudhry4-Mar-09 1:13
vikas choudhry4-Mar-09 1:13 
AnswerRe: draw a arc betwwen two lines and then find angle Pin
Cedric Moonen4-Mar-09 1:42
Cedric Moonen4-Mar-09 1:42 
JokeRe: draw a arc betwwen two lines and then find angle Pin
CPallini4-Mar-09 1:54
mveCPallini4-Mar-09 1:54 
GeneralRe: draw a arc betwwen two lines and then find angle Pin
Eytukan4-Mar-09 1:54
Eytukan4-Mar-09 1:54 
GeneralRe: draw a arc betwwen two lines and then find angle Pin
vikas choudhry4-Mar-09 2:10
vikas choudhry4-Mar-09 2:10 
GeneralRe: draw a arc betwwen two lines and then find angle Pin
Cedric Moonen4-Mar-09 2:22
Cedric Moonen4-Mar-09 2:22 
GeneralRe: draw a arc betwwen two lines and then find angle Pin
CPallini4-Mar-09 2:42
mveCPallini4-Mar-09 2:42 
AnswerRe: draw a arc betwwen two lines and then find angle Pin
Eytukan4-Mar-09 1:48
Eytukan4-Mar-09 1:48 

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.