Pac_741
Jan 23rd, 2010, 06:58 PM
Helllo everyone,
I'm developing an application that has a custom window style (WindowStyle = None, AllowTransparency = True), the application will only re-size vertically and I'm currently handling this by my own methods, but since I'm developing under Windows 7 I'd like to know how to apply a custom window chrome to my application from a created rectangle in the window.
What I mean is if I can use a rectangle created in blend as the custom chrome of the window, I know it is possible to draw it from code. Also, as I was saying about the resizing, as you might know Window 7 has this "Snap" feature, but the problem is that I want my application re-size only it's Height, because when the Width of the application changes, the overall appearance of the application distorts.
Thanks.
I'm developing an application that has a custom window style (WindowStyle = None, AllowTransparency = True), the application will only re-size vertically and I'm currently handling this by my own methods, but since I'm developing under Windows 7 I'd like to know how to apply a custom window chrome to my application from a created rectangle in the window.
What I mean is if I can use a rectangle created in blend as the custom chrome of the window, I know it is possible to draw it from code. Also, as I was saying about the resizing, as you might know Window 7 has this "Snap" feature, but the problem is that I want my application re-size only it's Height, because when the Width of the application changes, the overall appearance of the application distorts.
Thanks.