Print Page | Close Window

GetWindowText problem in CXTPControlComboBox

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=7147
Printed Date: 12 November 2025 at 7:38pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: GetWindowText problem in CXTPControlComboBox
Posted By: Ashok
Subject: GetWindowText problem in CXTPControlComboBox
Date Posted: 16 May 2007 at 5:09am

Hai,

    I want the equivalent code for the below statement, because GetWindowText is not working in CXTPControlComboBox

CString sBuf;

LPTSTR lpszStringbuf = sBuf.GetBufferSetLength(4);

int size = GetWindowText(lpszStringbuf,3); -- error in GetWindowText

Any equivalent code for the above one.



Replies:
Posted By: Oleg
Date Posted: 16 May 2007 at 5:41am
CXTPControlComboBox is not CWnd derived. use GetEditText instead.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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