Print Page | Close Window

Add CXTPGridRecordItemControl::SetState

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=24458
Printed Date: 13 May 2024 at 7:56pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Add CXTPGridRecordItemControl::SetState
Posted By: mgampi
Subject: Add CXTPGridRecordItemControl::SetState
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net