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: 1198
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 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
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.141 seconds.