Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Bug in CXTPTabControl::SetSelectedItem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bug in CXTPTabControl::SetSelectedItem

 Post Reply Post Reply
Author
Message Reverse Sort Order
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Topic: Bug in CXTPTabControl::SetSelectedItem
    Posted: 31 March 2008 at 1:03am
Hi,
Thanks, its fixed.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 29 March 2008 at 4:15pm
Item 1 is selected. I re-click it and get a TCN_SELCHANGE notification. This is wrong since the selection was not changed.
 
The problem lies in CXTPTabControl::SetSelectedItem. The TCN_SELCHANGED-code should be moved into the if-statement "if (m_pSelected != pItem)".
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.110 seconds.