Click here to Skip to main content
16,018,092 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Dear All,
I am implementing TDI(Tabbed Document Interface) MFC application, similar to the VS2008, feature, ie., "Close all but Current Tab" displayed when user right clicks the mouse, in the editor pane. Also, obtaining the absolute path of each tab using tooltips.

Please let me know how can I resolve the same.

I am using MFC Feature Pack, VS2008 and XP SP1 .

Thanks in advance.

With Regards,
Posted
Updated 7-Jun-11 18:59pm
v2
Comments
Sergey Alexandrovich Kryukov 6-Jun-11 23:55pm    
There is not question here, only the statement that you cannot implement this relatively simple feature. Not clear what the problem is. Not clear how all these content detail (Scintilla, etc.) are relevant to the tab. Not clear what you already know. Do you know how to remove a single tab? If so, what's the problem?
--SA
Abhinav S 8-Jun-11 1:04am    
Try something and post here.

1 solution

Send a message to the parent window with the identifier of your tab as parameter asking to close all tabs but the one you've right clicked (identified by the parameter)...

Hope this helps...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900