![]() |
Updateproblem of Dialogs backround |
Post Reply ![]() |
Author | |
ichbinweg ![]() Newbie ![]() Joined: 14 August 2008 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
|
ichbinweg ![]() Newbie ![]() Joined: 14 August 2008 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |