Print Page | Close Window

CXTPPopupControl -- resolution change issue

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=9812
Printed Date: 14 November 2025 at 7:53pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPPopupControl -- resolution change issue
Posted By: scruzer
Subject: CXTPPopupControl -- resolution change issue
Date Posted: 06 March 2008 at 2:31pm
Hey-
 
Just a note -- if the user's screen resolution changes, the position of the control becomes wrong.
 
The popup position is set in the constructor, and maybe should be set in Show().... 
 
I dealt with the problem by subclassing and calling SetPopupPos inside my Show().
 
Just thought I'd let you know.



Replies:
Posted By: Oleg
Date Posted: 07 March 2008 at 3:10pm
Hi,
Just call SetPopupPos  before you show it.


-------------
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