Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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.
GeneralRe: NM_RDBLCLK not working for CTreeCtrl Pin
_Flaviu14-Mar-18 23:16
_Flaviu14-Mar-18 23:16 
GeneralRe: NM_RDBLCLK not working for CTreeCtrl Pin
Jochen Arndt14-Mar-18 23:24
professionalJochen Arndt14-Mar-18 23:24 
GeneralRe: NM_RDBLCLK not working for CTreeCtrl Pin
_Flaviu14-Mar-18 23:37
_Flaviu14-Mar-18 23:37 
GeneralRe: NM_RDBLCLK not working for CTreeCtrl Pin
Jochen Arndt15-Mar-18 0:43
professionalJochen Arndt15-Mar-18 0:43 
GeneralRe: NM_RDBLCLK not working for CTreeCtrl Pin
_Flaviu15-Mar-18 1:16
_Flaviu15-Mar-18 1:16 
AnswerRe: NM_RDBLCLK not working for CTreeCtrl Pin
Victor Nijegorodov15-Mar-18 3:04
Victor Nijegorodov15-Mar-18 3:04 
GeneralRe: NM_RDBLCLK not working for CTreeCtrl Pin
_Flaviu16-Mar-18 0:57
_Flaviu16-Mar-18 0:57 
GeneralRe: NM_RDBLCLK not working for CTreeCtrl Pin
Victor Nijegorodov16-Mar-18 3:18
Victor Nijegorodov16-Mar-18 3:18 
GeneralRe: NM_RDBLCLK not working for CTreeCtrl Pin
_Flaviu19-Mar-18 0:26
_Flaviu19-Mar-18 0:26 
GeneralRe: NM_RDBLCLK not working for CTreeCtrl Pin
Victor Nijegorodov20-Mar-18 9:23
Victor Nijegorodov20-Mar-18 9:23 
QuestionSingle View with Multiple Tabs in MFC Pin
Sampath57912-Mar-18 22:51
Sampath57912-Mar-18 22:51 
QuestionRe: TabbedPane vs TabView Pin
Richard MacCutchan12-Mar-18 22:59
mveRichard MacCutchan12-Mar-18 22:59 
AnswerRe: TabbedPane vs TabView Pin
Sampath57912-Mar-18 23:04
Sampath57912-Mar-18 23:04 
GeneralRe: TabbedPane vs TabView Pin
Richard MacCutchan12-Mar-18 23:15
mveRichard MacCutchan12-Mar-18 23:15 
GeneralRe: TabbedPane vs TabView Pin
Sampath57912-Mar-18 23:17
Sampath57912-Mar-18 23:17 
GeneralRe: TabbedPane vs TabView Pin
Richard MacCutchan12-Mar-18 23:32
mveRichard MacCutchan12-Mar-18 23:32 
GeneralRe: TabbedPane vs TabView Pin
Sampath57912-Mar-18 23:44
Sampath57912-Mar-18 23:44 

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.