Okay, here is my next stupid question... :-)
Like I said before, I am in the process of porting a program from Athena
widget/Xt to XForms.
With the help I got last time, I have succeded in getting my code to draw into
the icon when it is iconified. The only problem is that the icon is only
redrawn when I move the mouse into or out of the icon. I used to solve this by
sending an Expose event to the icon window, like this:
XtVaGetValues(myshell, XtNiconWindow, &window, NULL);
event.type = Expose;
event.display = dpy;
event.window = window;
event.x = event.y = 0;
event.width = iconwidth;
event.height = iconheight;
XSendEvent(dpy, window, 0, 0, (XEvent *) &event);
where 'myshell' is returned by XtAppInitialize(). But with XForms I do not
have access to neither the toplevel widget or the icon window.
Any good ideas?
-Torsten http://www2.dk-online.dk/Users/Torsten_Martinsen