Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Add CXTPGridRecordItemControl::SetState
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Add CXTPGridRecordItemControl::SetState

 Post Reply Post Reply
Author
Message
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: Add CXTPGridRecordItemControl::SetState
    Posted: 14 February 2024 at 2:47pm
Hello Codejock!

Please add

void SetState(int nState);

AFX_INLINE void CXTPGridRecordItemControl::SetState(int nState)
{
  m_nState = nState;
}

to CXTPGridRecordItemControl, because the current Toolkit code does state changes only based on mouse actions. We need to set the state on user code actions and this is currently not possible. In addition, the CXTPGridRecordItemControl - especially the CXTPGridRecordItemButton - is created internally in the library without any chance to attach our own CXTPGridRecordItemButton derived implementation. The same applies to the other internally used controls.
Maybe you can change this for the next release too Wink.
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 14 October 2024 at 4:33am
Hi;

SetState() is still missing in Toolkit 24!


Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
astoyan View Drop Down
Admin Group
Admin Group
Avatar

Joined: 24 August 2013
Status: Offline
Points: 304
Post Options Post Options   Thanks (0) Thanks(0)   Quote astoyan Quote  Post ReplyReply Direct Link To This Post Posted: 14 October 2024 at 9:31am
Hello Martin,

It's been added for v24.1

Alexander
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.188 seconds.