Click here to Skip to main content
       

C / C++ / MFC

 
AnswerRe: Locating a function address with the debugger PinmemberStephen Hewitt17-Mar-13 16:42 
GeneralRe: Locating a function address with the debugger PinmemberRichard Andrew x6417-Mar-13 16:49 
GeneralRe: Locating a function address with the debugger PinmemberStephen Hewitt17-Mar-13 21:31 
GeneralRe: Locating a function address with the debugger PinmemberStephen Hewitt18-Mar-13 16:06 
AnswerRe: Locating a function address with the debugger PinmemberStephen Hewitt18-Mar-13 16:10 
GeneralRe: Locating a function address with the debugger PinmemberRichard Andrew x6419-Mar-13 4:39 
AnswerRe: Locating a function address with the debugger PinmemberErudite_Eric19-Mar-13 2:37 
GeneralRe: Locating a function address with the debugger PinmemberRichard Andrew x6419-Mar-13 4:41 
GeneralRe: Locating a function address with the debugger PinmemberErudite_Eric20-Mar-13 3:29 
GeneralRe: Locating a function address with the debugger PinmemberStephen Hewitt19-Mar-13 5:17 
GeneralRe: Locating a function address with the debugger PinmemberErudite_Eric20-Mar-13 3:30 
QuestionFailed to compile chrome Pingroupyu-jian16-Mar-13 6:27 
AnswerRe: Failed to compile chrome PinmvpRichard MacCutchan16-Mar-13 6:34 
QuestionCTreeCtrl, CDockingPane, and mouse events PinmemberRob Bryce15-Mar-13 20:33 
Hi All, many thanks up-front to anyone who can help here.
 
I have a client that wants me to migrate a CTreeView-derived class to one which works like a docking pane. The class is so large now that it's not feasible to rewrite everything.
 
So...I still have the underlying CTreeCtrl-derived class (more/less untouched), which is a child of a class derived from CDockablePane (migrated from the CView class). I've also derived from CMultiPaneFrameWnd (used when the pane is floating) to try to trap events.
 
I've got it working about 80%. I need help/direction with the other 20%. I've got the CDockablePane derived class working with bulk of the MESSAGE_MAP events (menu handlers, ON_UPDATE_COMMAND_UI, etc.) working correctly. The events associated with the mouse are giving me grief.
 
I see 3 standard modes for the dockable pane: floating, docked, and tabbed. And they all behave differently w/r to mouse events - and depending on the docking mode.
 
For example:
* If the docking mode is DT_SMART *and* the pane is NOT floating, then drag&drop and double-clicking work correctly.
* If the docking mode isn't DT_SMART, then drag&drop usually tries to drag the complete docking pane instead of working correctly (regardless of floating, docked, tabbed).
* When the pane is floating, I can't trap WM_LBUTTONDBLCLK (unless you click on the lines and little [+] boxes...) or the respective notify or reflect messages - even Spy++ doesn't record them. I just don't see any left button double-click events - at all!
 
Google searches show that I'm not the only one with these types of issues. I've read and tried pretty well every suggestion...and I still have these issues. I'm now concerned about bugs or assumptions in the framework after reading this:
http://connect.microsoft.com/VisualStudio/feedback/details/641096/cdockablepane-calls-releasecapture[^]
 
This link: http://www.johnbyrd.org/blog/index.php?itemid=405[^] helped a lot but didn't solve all issues either.
 
I can also replicate these issues (unable to trap double-clicking when floating) in the VisualStudioDemo feature pack demo.
 
Any suggestions on how to get a CTreeCtrl to work inside a CDockingPane - consistently - would be really appreciated. I feel that many issues are related to CMultiPaneFrameWnd, but can't resolve them.
 
Thanks!
AnswerRe: CTreeCtrl, CDockingPane, and mouse events PinmemberEugen Podsypalnikov19-Mar-13 0:23 
AnswerRe: CTreeCtrl, CDockingPane, and mouse events PinmemberRob Bryce19-Mar-13 17:08 
QuestionDrivers to access parallel port in c using windows xp or 7 ?? PinmemberHarshmeet Singh15-Mar-13 8:36 
QuestionRe: Drivers to access parallel port in c using windows xp or 7 ?? PinmemberDavidCrow15-Mar-13 9:54 
AnswerRe: Drivers to access parallel port in c using windows xp or 7 ?? PinmvpRichard MacCutchan15-Mar-13 23:08 
AnswerRe: Drivers to access parallel port in c using windows xp or 7 ?? PinmemberErudite_Eric17-Mar-13 1:18 
AnswerRe: Drivers to access parallel port in c using windows xp or 7 ?? PinmemberFlaviu217-Mar-13 20:49 
QuestionC++ Code to call a Rest Based Web Service API Pinmemberraghunath sahoo15-Mar-13 7:56 
AnswerRe: C++ Code to call a Rest Based Web Service API PinmemberAlbert Holguin15-Mar-13 8:34 
GeneralRe: C++ Code to call a Rest Based Web Service API Pinmemberraghunath sahoo15-Mar-13 8:55 
GeneralRe: C++ Code to call a Rest Based Web Service API Pinmemberraghunath sahoo15-Mar-13 8:57 
AnswerRe: C++ Code to call a Rest Based Web Service API PinmemberAlbert Holguin15-Mar-13 9:32 
QuestionVC++ and Empty Base Class Optimization problem/bug PinmemberKosta Cherry15-Mar-13 4:45 
AnswerRe: VC++ and Empty Base Class Optimization problem/bug PinmemberMatthew Faithfull15-Mar-13 6:01 
GeneralRe: VC++ and Empty Base Class Optimization problem/bug PinmemberKosta Cherry15-Mar-13 6:23 
GeneralRe: VC++ and Empty Base Class Optimization problem/bug PinmemberMatthew Faithfull15-Mar-13 6:36 
GeneralRe: VC++ and Empty Base Class Optimization problem/bug PinmemberDavidCrow15-Mar-13 7:34 
GeneralRe: VC++ and Empty Base Class Optimization problem/bug PinmemberKosta Cherry15-Mar-13 8:45 
AnswerRe: VC++ and Empty Base Class Optimization problem/bug Pinmemberjschell15-Mar-13 8:56 
QuestionHow Can I set Noise In Image ? Pinmemberyogeshs14-Mar-13 19:25 
AnswerRe: How Can I set Noise In Image ? PinmemberMarco Bertschi14-Mar-13 22:21 
AnswerRe: How Can I set Noise In Image ? Pinmembernv316-Mar-13 2:16 
QuestiontimeGetTime() is unreliable on my computer too, not monotonic! [modified] PinmemberRobert Inventor14-Mar-13 18:04 
AnswerMessage Removed PinmemberRobert Inventor14-Mar-13 18:15 
GeneralMessage Removed PinmemberRobert Inventor14-Mar-13 18:20 
GeneralMessage Removed PinmemberRobert Inventor14-Mar-13 18:53 
GeneralMessage Removed PinmemberRobert Inventor14-Mar-13 19:19 
AnswerRe: timeGetTime() is unreliable on my computer too, not monotonic! PinmemberRobert Inventor19-Mar-13 7:31 
QuestionQueryPerformanceCounter inaccurate timing even with use of SetThreadAffinityMask PinmemberRobert Inventor14-Mar-13 15:50 
AnswerRe: QueryPerformanceCounter inaccurate timing even with use of SetThreadAffinityMask PinmemberRobert Inventor14-Mar-13 18:07 
GeneralRe: QueryPerformanceCounter inaccurate timing even with use of SetThreadAffinityMask Pinmemberdusty_dex15-Mar-13 0:24 
GeneralRe: QueryPerformanceCounter inaccurate timing even with use of SetThreadAffinityMask PinmemberRobert Inventor18-Mar-13 14:44 
GeneralRe: QueryPerformanceCounter inaccurate timing even with use of SetThreadAffinityMask [modified] Pinmemberdusty_dex18-Mar-13 22:08 
AnswerRe: QueryPerformanceCounter inaccurate timing even with use of SetThreadAffinityMask PinmemberRobert Inventor19-Mar-13 6:19 
GeneralRe: QueryPerformanceCounter inaccurate timing even with use of SetThreadAffinityMask Pinmemberdusty_dex19-Mar-13 8:34 
GeneralRe: QueryPerformanceCounter inaccurate timing even with use of SetThreadAffinityMask PinmemberRobert Inventor20-Mar-13 10:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 20 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid