Parent document is top of "Motif FAQ (Part 8 of 9)"
Previous document is "286) Can I use XtAddTimeOut, XtAddWorkProc, and XtAddInput with"
Next document is "288) Can I use XmGetPixmap() with widgets that have non-default"
287) Why does XtGetValues for XmNx and XmNwidth return extremely
large values?
Answer: You must use the 16 bit "Dimension" and "Position" data types for
your arguments. If you use 32 bit integers, some implementations will fill
the remaining 16 bits with invalid data, causing incorrect return values. The
*Motif Programmer's Manual* and the widget man pages specify the correct data
type for each resource.
Ken Lee, http://www.rahul.net/kenton/
Parent document is top of "Motif FAQ (Part 8 of 9)"
Previous document is "286) Can I use XtAddTimeOut, XtAddWorkProc, and XtAddInput with"
Next document is "288) Can I use XmGetPixmap() with widgets that have non-default"