Click here to Skip to main content
16,005,149 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Variable Y-Axis Pin
Nishad S17-Apr-06 1:13
Nishad S17-Apr-06 1:13 
QuestionRotation of multiline text Pin
Shailesh Ha17-Apr-06 0:16
Shailesh Ha17-Apr-06 0:16 
AnswerRe: Rotation of multiline text Pin
Stephen Hewitt17-Apr-06 4:15
Stephen Hewitt17-Apr-06 4:15 
Questioncolor button Pin
himuskanhere16-Apr-06 23:55
himuskanhere16-Apr-06 23:55 
AnswerRe: color button Pin
Nishad S17-Apr-06 0:02
Nishad S17-Apr-06 0:02 
AnswerRe: color button Pin
Jim Jim17-Apr-06 1:27
Jim Jim17-Apr-06 1:27 
AnswerRe: color button Pin
Hamid_RT17-Apr-06 19:13
Hamid_RT17-Apr-06 19:13 
QuestionNot getting ON_NOTIFY Pin
Jim Jim16-Apr-06 23:46
Jim Jim16-Apr-06 23:46 
Hi all,

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) ...<br />

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!
AnswerRe: Not getting ON_NOTIFY Pin
YaronNir17-Apr-06 0:59
YaronNir17-Apr-06 0:59 
GeneralRe: Not getting ON_NOTIFY Pin
Jim Jim17-Apr-06 1:42
Jim Jim17-Apr-06 1:42 
GeneralRe: Not getting ON_NOTIFY Pin
YaronNir17-Apr-06 2:06
YaronNir17-Apr-06 2:06 
GeneralRe: Not getting ON_NOTIFY Pin
Jim Jim17-Apr-06 5:55
Jim Jim17-Apr-06 5:55 
QuestionAccess Control variable values in one PropertyPage from another Property Page. Pin
kiran janaswamy16-Apr-06 23:29
kiran janaswamy16-Apr-06 23:29 
AnswerRe: Access Control variable values in one PropertyPage from another Property Page. Pin
Nishad S17-Apr-06 0:05
Nishad S17-Apr-06 0:05 
AnswerRe: Access Control variable values in one PropertyPage from another Property Page. Pin
David Crow17-Apr-06 3:36
David Crow17-Apr-06 3:36 
QuestionHow detect leak memory Pin
Le Thanh Cong16-Apr-06 23:03
Le Thanh Cong16-Apr-06 23:03 
AnswerRe: How detect leak memory Pin
sunit517-Apr-06 0:04
sunit517-Apr-06 0:04 
GeneralRe: How detect leak memory Pin
Le Thanh Cong17-Apr-06 21:19
Le Thanh Cong17-Apr-06 21:19 
AnswerRe: How detect leak memory Pin
YaronNir17-Apr-06 1:03
YaronNir17-Apr-06 1:03 
GeneralRe: How detect leak memory Pin
Le Thanh Cong17-Apr-06 21:18
Le Thanh Cong17-Apr-06 21:18 
AnswerRe: How detect leak memory Pin
Hamid_RT17-Apr-06 19:43
Hamid_RT17-Apr-06 19:43 
GeneralRe: How detect leak memory Pin
Le Thanh Cong17-Apr-06 21:12
Le Thanh Cong17-Apr-06 21:12 
Questionchange program icon in VS2005 Pin
big_denny_20016-Apr-06 23:02
big_denny_20016-Apr-06 23:02 
AnswerRe: change program icon in VS2005 Pin
YaronNir17-Apr-06 4:45
YaronNir17-Apr-06 4:45 
AnswerRe: change program icon in VS2005 Pin
Hamid_RT17-Apr-06 19:35
Hamid_RT17-Apr-06 19:35 

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.