1. Win32lib bit image behaviour
- Posted by Rex weavers <rweavers at chemistry.otago.ac.nz> Apr 13, 2007
- 462 views
In version 0.59.1 (8 June, 2003) of Win32lib, if you created a bit image for the background of a window and then created a control, the control would sit in front of the bit image. The order of creation of the two objects didn't matter, the control was always in front. In version 0.06.6 (19 Sept, 2004) you must create the control before you create the bit image otherwise your control is lost behind the image. OK, this works, but it seems a little precarious to have to rely on the order of creation to get the bit image occupying the background. Is there any way to force the picture to the background?
2. Re: Win32lib bit image behaviour
- Posted by Derek Parnell <ddparnell at bigpond.com> Apr 13, 2007
- 477 views
Rex weavers wrote: > Is there any way to force the picture to the background? Have you tried the moveZOrder procedure? moveZOrder( myBitMap, HWND_BOTTOM) or maybe even ... moveZOrder( myBitMap, myMainWin ) -- Derek Parnell Melbourne, Australia Skype name: derek.j.parnell
3. Re: Win32lib bit image behaviour
- Posted by Rex weavers <rweavers at chemistry.otago.ac.nz> Apr 15, 2007
- 485 views
- Last edited Apr 16, 2007
Derek Parnell wrote: > > Rex weavers wrote: > > Is there any way to force the picture to the background? > > Have you tried the moveZOrder procedure? > > > moveZOrder( myBitMap, HWND_BOTTOM) > > or maybe even ... > > moveZOrder( myBitMap, myMainWin ) > > -- > Derek Parnell > Melbourne, Australia > Skype name: derek.j.parnell Thanks Derek. The first option works fine.