Background images for MDI Frames
Posted: Fri Aug 07, 2009 2:40 pm
by hml >> Thu, 31 Oct 2002 13:52:42 GMT
I want to put a watermark on an MDI frame and used the Form.drawPicture method successfully to do this. The problem occurs when the first MDI child is opened as Jade creates a window that sits on top of the frame window. (I have controls down the LH side of the MDI Frame). The drawing methods appear to draw on the form behind this window and thus are not seen. When the child window closes this window is not removed and the watermark is hidden by the child window.
If a backbrush is used, Jade copies the backbrush to this child window but the origin of the window is different so your background picture is moved when the first child is opened.
I could write some code in C++ to find the window and then display the picture but was wondering if anyone knows a workaround within Jade?
Torrie
I want to put a watermark on an MDI frame and used the Form.drawPicture method successfully to do this. The problem occurs when the first MDI child is opened as Jade creates a window that sits on top of the frame window. (I have controls down the LH side of the MDI Frame). The drawing methods appear to draw on the form behind this window and thus are not seen. When the child window closes this window is not removed and the watermark is hidden by the child window.
If a backbrush is used, Jade copies the backbrush to this child window but the origin of the window is different so your background picture is moved when the first child is opened.
I could write some code in C++ to find the window and then display the picture but was wondering if anyone knows a workaround within Jade?
Torrie