1. Win32lib bit image behaviour

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?

new topic     » topic index » view message » categorize

2. Re: Win32lib bit image behaviour

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: Win32lib bit image behaviour

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.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu