PreTranslateMessage(MSG* pMsg)
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have a tree control that fills the entire client area of a dialog box. I want to catch the left mouse button being pressed in the tree. The problem is, I can't catch WM_LBUTTONDOWN because the tree fills the whole dialog. dialog. So, I am trying to make use of PreTranslateMessage. What I was wondering was how do I detect when the the user has pressed the left mouse button while holding down the shift key in PreTranslateMessage(MSG* pMsg)? Also, is there an easier way to do this? Thanks Mike