![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Resize Windows at run-time with AllowTransparency issue Hi , We have an issue with Window with Transparency= true to resize them at run-time We want to create non-rectangular Window with no border and Full transparency; so, we have create a Window with AllowTransparency=true and we have added a Grid with some Controls inside; this works well and the window can be dragged on the desktop; The issue is coming when I try to resize my window at run-time; as I don't have any border, I have added a Thumb control and I use the DragDelta method to do the job; the real issue is when I resize my Grid in a bigger size which make parts of it clipped outside the window; so, I have tried to resize dynamically the window in same time of the grid in the DragDelta method, but it seems that's a bug doesn't allow this ... Steps to reproduce: we create a Windows with AllowTransparency=true and inside we add a grid, then inside some controls; at runtime, we use a Thump control to resize the grid and offcourse, we have to resize the Windows otherwise some parts of the displayed grid are rendered outside the window; we played with a lot of windows property but we can't make it work.... later, we have discovered that if we set the window border visible removing the AllowTransparency, then relaunch the sample: - we click on the red square to resize, the windows doesn't size - Take the mouse and size manually once the windows, then click again the red square, now the windows resize ... I know I could set the Window with a size of 2000x2000 to be sure but I would avoid having huge window for nothing... Thxs for any help Regards -Vince |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vista windows resize redraw issue in VS2008, Acrobat and others | arch | Vista General | 3 | 05-28-2008 02:49 AM |
| Vista window resize issue Acrobat, VS2008 and others | arch | Vista networking & sharing | 0 | 03-14-2008 07:14 AM |
| AllowTransparency=True = CPU > 90% | Avalon | 1 | 06-01-2007 11:44 AM | |