Print Page | Close Window

CXTPBrowseEdit render problem

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=18899
Printed Date: 24 November 2024 at 9:55am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPBrowseEdit render problem
Posted By: JamesL
Subject: CXTPBrowseEdit render problem
Date Posted: 03 September 2011 at 3:40am
I have a CXTPResizeDialog loosely based on the CBrowseEditDlg sample and I am having a problem when I resize the dialog. The CXTPBrowseEdit control does not seem to redraw correctly when the dialog is resized, the button part of it seem to be redrawn to the right of the margin of the control and is cut off.
before Resizing:


after resizing:

any ideas I am sure it must be something simple I have missed?
Thanks
James



-------------
Product: Xtreme ToolKitPro version 15.2.0
Platform: Windows 7 (32bit/64bit)
Language: Visual C++ 2010



Replies:
Posted By: DazMan
Date Posted: 12 September 2012 at 7:39am
 James,
 
I have just had the same issue as yourself, the cause of which appears to be releated to the calling sequence of CXTPResizeDialog SetResize method and the CXTPBrowseEdit Initialize. 
 
If you make sure the CXTPBrowseEdit controls Initialize method is called prior to the CXTPResizeDialog's SetResize for that control the problem is resolved.
 
Hope this helps,
Darron
 
 
 



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