Print Page | Close Window

CXTResizePropertySheet problem

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=15599
Printed Date: 21 June 2025 at 9:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTResizePropertySheet problem
Posted By: znakeeye
Subject: CXTResizePropertySheet problem
Date Posted: 12 November 2009 at 2:59am
XTP 12.0.1
 
int CTestPropertySheet::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
 if (CXTResizePropertySheet::OnCreate(lpCreateStruct) == -1)
  return -1;

 AutoLoadPlacement(_T("TestPropertySheet"));

 return 0;
}

My property sheet is resized (size increased). The next time I open it, it has the correct size, but I cannot shrink it!

-------------
PokerMemento - http://www.pokermemento.com/



Replies:
Posted By: znakeeye
Date Posted: 12 November 2009 at 3:53am

Placing that code in OnInitDialog solves it. Bleh...



-------------
PokerMemento - http://www.pokermemento.com/



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