Print Page | Close Window

CXTPScrollableEdit scroller does not appear

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=24066
Printed Date: 04 May 2024 at 1:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPScrollableEdit scroller does not appear
Posted By: DiZSl
Subject: CXTPScrollableEdit scroller does not appear
Date Posted: 23 September 2020 at 7:31am
When changing the text of CXTPScrollableEdit during dialog initialization, the scroller does not appear.

This is because IsWindowVisible returns FALSE (parent window is invisible) after ShowWindow(SW_SHOW).
See msdn:
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-iswindowvisible

That is why Layout method not worked (it check IsWindowVisible) during scroll sycnhronization



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