Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - CXTPBrowseEdit render problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPBrowseEdit render problem

 Post Reply Post Reply
Author
Message
JamesL View Drop Down
Newbie
Newbie


Joined: 26 February 2006
Location: UK
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesL Quote  Post ReplyReply Direct Link To This Post Topic: CXTPBrowseEdit render problem
    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
Back to Top
DazMan View Drop Down
Newbie
Newbie
Avatar

Joined: 30 March 2009
Location: UK
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote DazMan Quote  Post ReplyReply Direct Link To This Post 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
 
 
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.