Click here to Skip to main content
15,899,935 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Can we include two Message Maps in one class? Pin
Richard MacCutchan14-Mar-18 23:32
mveRichard MacCutchan14-Mar-18 23:32 
GeneralRe: Can we include two Message Maps in one class? Pin
Sampath57914-Mar-18 23:39
Sampath57914-Mar-18 23:39 
AnswerRe: Can we include two Message Maps in one class? Pin
Jochen Arndt15-Mar-18 0:53
professionalJochen Arndt15-Mar-18 0:53 
GeneralRe: Can we include two Message Maps in one class? Pin
Sampath57915-Mar-18 1:08
Sampath57915-Mar-18 1:08 
GeneralRe: Can we include two Message Maps in one class? Pin
Sampath57915-Mar-18 4:19
Sampath57915-Mar-18 4:19 
GeneralRe: Can we include two Message Maps in one class? Pin
Victor Nijegorodov15-Mar-18 4:48
Victor Nijegorodov15-Mar-18 4:48 
GeneralRe: Can we include two Message Maps in one class? Pin
Sampath57915-Mar-18 6:25
Sampath57915-Mar-18 6:25 
GeneralRe: Can we include two Message Maps in one class? Pin
Jochen Arndt15-Mar-18 4:50
professionalJochen Arndt15-Mar-18 4:50 
GeneralRe: Can we include two Message Maps in one class? Pin
Sampath57915-Mar-18 6:57
Sampath57915-Mar-18 6:57 
GeneralRe: Can we include two Message Maps in one class? Pin
Richard MacCutchan15-Mar-18 7:11
mveRichard MacCutchan15-Mar-18 7:11 
GeneralRe: Can we include two Message Maps in one class? Pin
Sampath57915-Mar-18 7:31
Sampath57915-Mar-18 7:31 
GeneralRe: Can we include two Message Maps in one class? Pin
Richard MacCutchan15-Mar-18 8:03
mveRichard MacCutchan15-Mar-18 8:03 
QuestionHow to reuse a single CView class with multiple tabs in MFC Pin
Sampath57914-Mar-18 6:42
Sampath57914-Mar-18 6:42 
AnswerRe: How to reuse a single CView class with multiple tabs in MFC Pin
Richard MacCutchan14-Mar-18 7:06
mveRichard MacCutchan14-Mar-18 7:06 
AnswerRe: How to reuse a single CView class with multiple tabs in MFC Pin
_Flaviu14-Mar-18 21:58
_Flaviu14-Mar-18 21:58 
AnswerRe: How to reuse a single CView class with multiple tabs in MFC Pin
_Flaviu14-Mar-18 22:41
_Flaviu14-Mar-18 22:41 
GeneralRe: How to reuse a single CView class with multiple tabs in MFC Pin
Sampath57914-Mar-18 22:55
Sampath57914-Mar-18 22:55 
GeneralRe: How to reuse a single CView class with multiple tabs in MFC Pin
_Flaviu14-Mar-18 23:08
_Flaviu14-Mar-18 23:08 
GeneralRe: How to reuse a single CView class with multiple tabs in MFC Pin
Sampath57914-Mar-18 23:27
Sampath57914-Mar-18 23:27 
GeneralRe: How to reuse a single CView class with multiple tabs in MFC Pin
_Flaviu14-Mar-18 23:35
_Flaviu14-Mar-18 23:35 
GeneralRe: How to reuse a single CView class with multiple tabs in MFC Pin
Sampath57915-Mar-18 0:05
Sampath57915-Mar-18 0:05 
QuestionNM_RDBLCLK not working for CTreeCtrl Pin
_Flaviu14-Mar-18 4:44
_Flaviu14-Mar-18 4:44 
AnswerRe: NM_RDBLCLK not working for CTreeCtrl Pin
Victor Nijegorodov14-Mar-18 10:41
Victor Nijegorodov14-Mar-18 10:41 
GeneralRe: NM_RDBLCLK not working for CTreeCtrl Pin
_Flaviu14-Mar-18 22:06
_Flaviu14-Mar-18 22:06 
SuggestionRe: NM_RDBLCLK not working for CTreeCtrl Pin
Jochen Arndt14-Mar-18 22:44
professionalJochen Arndt14-Mar-18 22:44 
Not a solution but some thoughts. Your parent view has a context menu handler. As a result that will be always called before the NM_RDBLCLK handler when the tree control does not handle it:
If a window does not display a shortcut menu it should pass this message to the DefWindowProc function. If a window is a child window, DefWindowProc sends the message to the parent. Otherwise, DefWindowProc displays a default shortcut menu if the specified position is in the window's caption.

If you have a context menu (in the parent and/or child) it will be shown before the NM_RDBLCLK handler is called. Then there should be no reason to act upon double clicks too. The message will even not being generated when the mouse is over the meanwhile opened popup menu when the second click occurs.

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.