Welcome to Hardcode Sign in | Join | Help

July 2007 - Posts

 

Suppose you have a view in a CControlBar, when you undock (float) the bar with that view active the mainframe will hung (menus won't open, it won't resize, all because WM_LBUTTONDOWN messages are not sent / received at all, they are eaten somewhere). The behaviour seems like when SetCapture is somewhere else or the window is disabled, though this is not the case.

Well, anyway, seems there's a problem with views on control bars, CSizingControlBar author Cristi Posea posts here more details, I've succeeded to fix the issue by creating a CFrameWnd parent on the control bar.

Visual C++ MVPs Marius Bancila, Ovidiu Cucu and Dragos Cojocari have just launched their Romanian C++ community codexpert.ro. While I trust the people hanging there, still I'd rather post an issue on one of the large international forums (like CodeGuru or forums.msdn.com) as there is a bigger chance of someone knowing a solution.What I'd like to see in Romania though is programmer discussions, meetings and having a real social community :).

Good luck codexpert, I'll keep an eye on the forum and help if I can.

For the young ones, to fully understand what the Rolling Stones music means for Romanian people check this article [RO].

Now, some pictures from yesterday evening:

 

 



Suppose you make a link to a.xls, then close the container, rename to b.xls, reopen the container and refresh the link - you'll notice that, by magic, the item gets linked to the newly renamed file. I've researched a bit and it's the Distributed Link Tracking service that is used by the IShellLink and IOleLink implementations, however I couldn't find any specific API for it.