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: 23 November 2024 at 9:11pm
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 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



Replies:
Posted By: mgampi
Date 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


Posted By: astoyan
Date Posted: 14 October 2024 at 9:31am
Hello Martin,

It's been added for v24.1

Alexander



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