Hello all,
I have 3 questions if you permit:
1. When drawing a line/rectangle with XmDrawLine/XmDrawRectangle, how to
specify
the color of the object (as red/green/blue..) when it is drawn in black
(may be as default color)?
2.In a drawing area, i would like to do the folowing:
When the user clicks on the area between the co-ordinates(x,y,x1,y1), I would
like to popup a motif window. Any ideas?
3. How to keep the drawing area refreshed because whenver I add some object, it
is added dynamically while the drawing area window is open, but the objects get
missed-up because of the change of the coordinates. However, when i move any
other window above it, it is refreshed! Any ideas why?
Thank you in advance and sorry if my mail is not 100% C specific.
Best Regards
- ibrahim