Colourable pane or groupbox control for dialogs ? |
Post Reply |
Author | |
alistair.m
Groupie Joined: 14 January 2008 Location: United Kingdom Status: Offline Points: 12 |
Post Options
Thanks(0)
Posted: 27 November 2008 at 10:16am |
Hi, we're currently investigating some UI dialog improvements, and as we already use CJ wondered if there was a XTP solution.
What we want is a simple to use panel or groupbox control that can: 1. act like a normal group box (with common controls placed over/inside it) 2. have a coloured background 3. play nice with CXTResizeDialog (without flickering) 4. did I say simple? e.g /-------------------------------- | dlg (say blue - maybe skinned in future) | | Panel name (maybe a CJ CaptionBar) | /------------------------------ | | panel (say light blue) | | | | Supplier Name [edit control] | | Address... | | Date... | | etc | \--------------- | I've looked through the samples and source files in XTP (10.4.2) looking for a direct drop in for what we want. But the closest I can find is a task panel demo that looks nice, but may not work well on dialogs (or will it?). I have a CodeProject class (CXPGroupBox) that provides a reasonable drop in coloured group/pane class, but when my dialog supports CXTResizeDialog, it all flickers like a ... I've added CJ's own Exclude() fn that calls ExcludeClipRect() for all the child controls and it now doesn't flicker the controls, just the background. I'm not sure this is the right way to go though, especially if we implement CJ schemes and any colour routines are overridden. Any ideas ? Thanks Al |
|
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 |