Problem after setting image in a background

In a window j have a text widget completely covered by a pane widget.
In the setup function of this window j load and put an image in a
background widget, and just after j unrealize the pane widget, but the
text widget doesn’t become visible.

thanks for your help

j join sample program (to execute it change path name in winbase.c of
the image )

Hi Christpohe,

With you application when you run it. If you minimize the window and
then open it again - does your text now show up?? If so try adding
PtUnrealizeWidget(ABW_winbasepane);
PtDamageWidget(ABW_winbasetxt); /* add this line */

This should get rid of your problem.

Hope this helps
Regards
Brenda

Christpohe Jacquard wrote:

In a window j have a text widget completely covered by a pane widget.
In the setup function of this window j load and put an image in a
background widget, and just after j unrealize the pane widget, but the
text widget doesn’t become visible.

thanks for your help

j join sample program (to execute it change path name in winbase.c of
the image )

BitCtrl Systems GmbH
Weissenfelser Str. 67
04229 Leipzig

Phone: +49 (0)341 49067 0
Phax: +49 (0)341 49067 15
eMail: frk@bitctrl.de