Print Page | Close Window

No frame on CXTPEdit control with a buddy control

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=17600
Printed Date: 17 November 2024 at 12:30am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: No frame on CXTPEdit control with a buddy control
Posted By: pepe
Subject: No frame on CXTPEdit control with a buddy control
Date Posted: 25 November 2010 at 6:53am
Hallo,

I have a problem with the CXTPEdit control.

I define a CXTPEdit control and a CXTPSpinButtonCtrl control. I set the CXTPEdit control as buddy to the CXTPSpinButtonCtrl control.
On Windows XP the frame arround the CXTPEdit control isn't draw. On Windows 7 all is ok.

I find out, that CXTPEdit::OnNcPaint was not called, when I set the buddy control to the CXTPSpinButtonCtr. When I do not set the buddy,  CXTPEdit::OnNcPaint is called.

I'm using Xtreme Toolkit 13.4.0 and VS2008 SP1.
On Windows XP the comctl32.dll is 6.00.xxx. on Windows 7 6.10.xxx.

Best regards

pepe



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