Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Updateproblem of Dialogs backround
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Updateproblem of Dialogs backround

 Post Reply Post Reply
Author
Message
ichbinweg View Drop Down
Newbie
Newbie


Joined: 14 August 2008
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote ichbinweg Quote  Post ReplyReply Direct Link To This Post Topic: Updateproblem of Dialogs backround
    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
Back to Top
ichbinweg View Drop Down
Newbie
Newbie


Joined: 14 August 2008
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote ichbinweg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.