Updateproblem of Dialogs backround
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=11896
Printed Date: 24 June 2025 at 6:15am Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Updateproblem of Dialogs backround
Posted By: ichbinweg
Subject: Updateproblem of Dialogs backround
Date Posted: 20 August 2008 at 3:16am
Hi Forum, I am pretty new to XTreme Toolkit Pro - here my Problem with the hope somebody got an idea...
Short Summary: - Modal Dialog, derived from SetResizeDialog - SetResize for controls in OnInitDialog Problem: Dialog Backround doesn't update - if i do not user SetResize Methods in OnInitDialog ...
Explanation of the Scenario: The Base Dialog Class is derived from CXTResizeDialog. Right now I am trying to implement something like that:
If "Modal-Dialog-Size" Size smaller than screen resolution than "doSetResize" all controls, else (if the ModalDialogSize is greater than screen Resolution) do not resize and show instead some Scrollbars, so all controls can be reached by user.
Problem of the Scenario The Problem right now is, that if I do not resize the controls, the dialogs backround/rectangle isn't actualized / redrawn in windows like colour...
Hope I expressed myself clear...
------------- greetings Sebastian
|
Replies:
Posted By: ichbinweg
Date Posted: 20 August 2008 at 4:00am
Hi Forum, after trying out my last ideas i solved the problem bei calling the method of CSTResizeDialog "removeAllControls". The Backround of the Dialog is shown correctly and works fine with the scrollbars ...
------------- greetings Sebastian
|
|