Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page

Top Document: Motif FAQ (Part 8 of 9)
Previous Document: 281) Can I use XtAddTimeOut, XtAddWorkProc, and XtAddInput with
Next Document: 283) Can I use XmGetPixmap() with widgets that have non-default


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

282) 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



Top Document: Motif FAQ (Part 8 of 9)
Previous Document: 281) Can I use XtAddTimeOut, XtAddWorkProc, and XtAddInput with
Next Document: 283) Can I use XmGetPixmap() with widgets that have non-default

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
kenton@rahul.net (Ken Lee)

Last Update May 13 2007 @ 00:23 AM