![]() |
A small improvement |
Post Reply
|
| Author | |
jeffcmj
Groupie
Joined: 28 October 2004 Status: Offline Points: 92 |
Post Options
Thanks(0)
Quote Reply
Topic: A small improvementPosted: 08 August 2005 at 2:20am |
|
In a multi-workspace MDI tab app, I think it's better to activate the workspace when (left/right) clicking on its tab bar.
Edited by jeffcmj |
|
![]() |
|
jeffcmj
Groupie
Joined: 28 October 2004 Status: Offline Points: 92 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 August 2005 at 10:27pm |
|
Since I got no response, may I ask how can I find out which workspace it belongs to when I click on the tab bar? So I can activate the workspace in my code.
Edited by jeffcmj |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 August 2005 at 11:42pm |
|
Actually it was added. :) to patch it in void CXTPTabClientWnd::OnLButtonDown(UINT nFlags, CPoint point) after if (pWorkspace->GetControlRect().PtInRect(point)) add if (!pWorkspace->IsActive()) |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
jeffcmj
Groupie
Joined: 28 October 2004 Status: Offline Points: 92 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 August 2005 at 11:14pm |
|
In what version it was added? I think I am using the latest one 9.70.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 August 2005 at 1:12pm |
|
Was added after your message.... for next release.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |