Click here to Skip to main content
15,909,656 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to set position of dialog on main from a component. Pin
baldha rakesh17-Apr-06 19:33
baldha rakesh17-Apr-06 19:33 
Questionsingelton class Pin
rajeevktripathi16-Apr-06 18:02
rajeevktripathi16-Apr-06 18:02 
AnswerRe: singelton class Pin
Naveen16-Apr-06 18:23
Naveen16-Apr-06 18:23 
GeneralRe: singelton class Pin
Nishad S16-Apr-06 18:25
Nishad S16-Apr-06 18:25 
QuestionRe: singelton class Pin
rajeevktripathi16-Apr-06 18:29
rajeevktripathi16-Apr-06 18:29 
AnswerRe: singelton class Pin
Naveen16-Apr-06 19:20
Naveen16-Apr-06 19:20 
QuestionNeed a toolbar Pin
nightrider1316-Apr-06 14:07
nightrider1316-Apr-06 14:07 
QuestionON_NOTIFY problem in CtreeCtrl - Help Needed! Pin
Jim Jim16-Apr-06 11:24
Jim Jim16-Apr-06 11:24 
Hi there,

I have a CTreeCtrl as a child of a docking window (CMyBar). In my docking window class I set a handle just like this:

(CMyBar.cpp)<br />
ON_NOTIFY(TVN_SELCHANGED, ID_TREE, OnTreeChange) ..
.

The declaration of the function is
(CMyBar.h)<br />
afx_msg void CMyBar::OnTreeChange(NMHDR *hdr, LRESULT *NotUsed)<br />

I had to explicity add the ON_NOTIFY handler because the Visual Studio6 ClassWizard doesn't show the ON_NOTIFY event for my docking class (CMyBar), (don't know why?).

As far as I know CTreeCtrl does send ON_NOTIFY notifications to it's parent (CMyBar). Spying++ CMyBar window class shows CMyBar gets WM_NOTIFY messages...

Now all this crap doesn't work (OnTreeChange never gets called), and I'm to figure out what's going on and what's wrong with it.

Would be really happy if someone can answer this question...

Thank you!
QuestionQuestion about XP-Styled Button Pin
RickAurbach16-Apr-06 10:09
RickAurbach16-Apr-06 10:09 
Questionparent and child data exchange Pin
llp00na16-Apr-06 7:49
llp00na16-Apr-06 7:49 
AnswerRe: parent and child data exchange Pin
Maxwell Chen16-Apr-06 7:56
Maxwell Chen16-Apr-06 7:56 
GeneralRe: parent and child data exchange Pin
llp00na16-Apr-06 10:43
llp00na16-Apr-06 10:43 
GeneralRe: parent and child data exchange Pin
Maxwell Chen16-Apr-06 20:53
Maxwell Chen16-Apr-06 20:53 
AnswerRe: parent and child data exchange Pin
MANISH RASTOGI16-Apr-06 18:34
MANISH RASTOGI16-Apr-06 18:34 
AnswerRe: parent and child data exchange Pin
MANISH RASTOGI16-Apr-06 18:36
MANISH RASTOGI16-Apr-06 18:36 
GeneralRe: parent and child data exchange Pin
llp00na17-Apr-06 4:20
llp00na17-Apr-06 4:20 
AnswerRe: parent and child data exchange Pin
David Crow17-Apr-06 3:46
David Crow17-Apr-06 3:46 
GeneralRe: parent and child data exchange Pin
llp00na17-Apr-06 4:18
llp00na17-Apr-06 4:18 
GeneralRe: parent and child data exchange Pin
David Crow17-Apr-06 4:44
David Crow17-Apr-06 4:44 
AnswerRe: parent and child data exchange Pin
Radu Sorin18-Apr-06 0:48
Radu Sorin18-Apr-06 0:48 
QuestionScreen Capture and Getting pixels? Pin
dSolariuM16-Apr-06 5:33
dSolariuM16-Apr-06 5:33 
AnswerRe: Screen Capture and Getting pixels? Pin
Saurabh.Garg16-Apr-06 5:54
Saurabh.Garg16-Apr-06 5:54 
AnswerRe: Screen Capture and Getting pixels? Pin
Hamid_RT16-Apr-06 6:35
Hamid_RT16-Apr-06 6:35 
GeneralRe: Screen Capture and Getting pixels? Pin
dSolariuM16-Apr-06 6:59
dSolariuM16-Apr-06 6:59 
GeneralRe: Screen Capture and Getting pixels? Pin
bob1697216-Apr-06 7:36
bob1697216-Apr-06 7:36 

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.