Hi, again!
> refresh = XtVaCreateManagedWidget ("Refresh",
> xmCascadeButtonWidgetClass,
> menu_bar,
> XmNmnemonic, 'R',
> NULL);
I tried this:
XtAddCallback (refresh, XmNactivateCallback, (XtPointer)refreshGraph,
XtWindow(w)); No use.
and this:
XtAddCallback (refresh, XmNactivateCallback, (XtPointer)refreshGraph,
(Widget) w); But no success, although the CB is successful since the
printf debug message is actually working.
So, in a desparate move (10 days before due date), I am attaching the
draw.c file which contains the drawing function and algorithms.
I hope someone can set me on the right track.
For those who would like to get the whole software, please
contact me.
Thanks a lot.
-ibrahim
Draw.zip