[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

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


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 | Web FAQs | Documents | RFC Index ]

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

Last Update October 22 2009 @ 05:27 AM

Some parts © 2009 Advameg, Inc.