请注意看: classwizard下面的解释 例如:LV_INSERTITEM:[Reflected from control]: Indicates.....如果前面有等号,则都有[Reflected from control]这个注释。 那么这个[Reflected from control]是什么意思呢???MSDN有这样的解释 REFLECT_NOTIFICATIONS This macro reflects notification messages back to the child window, control, that sent them. Specify this macro as part of your message map.应该是此消息是从父窗口过来的。你说的: "=WM_CTLCOLOR”的影射函数是CtlColor(CDC* pDC, UINT nCtlColor) , 而“WM_CTLCOLOR”的是OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) 。 后者需要CWnd* pWnd就是用来区分是哪个子窗口的,而前者不用
这两个函数的功能是否一样???
classwizard下面的解释
例如:LV_INSERTITEM:[Reflected from control]: Indicates.....如果前面有等号,则都有[Reflected from control]这个注释。
那么这个[Reflected from control]是什么意思呢???MSDN有这样的解释
REFLECT_NOTIFICATIONS
This macro reflects notification messages back to the child window, control, that sent them. Specify this macro as part of your message map.应该是此消息是从父窗口过来的。你说的:
"=WM_CTLCOLOR”的影射函数是CtlColor(CDC* pDC, UINT nCtlColor) ,
而“WM_CTLCOLOR”的是OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) 。
后者需要CWnd* pWnd就是用来区分是哪个子窗口的,而前者不用