[comp.windows.x.motif] XmFileSelectionBox and XmNfileSearchProc

slh@wolf.cs.washington.edu (Scott Heyano) (01/20/91)

In article <12787@hacgate.UUCP> sean@stonyman.eos.scg.hac.com () writes:
|
[problems]
|
|void
|UFSFileSearchProc(w, call)
|Widget w;
|XmFileSelectionBoxCallbackStruct call;
[more code]

	This is suppose to be a pointer to the struct, not the struct itself.
	The docs may or may not say it suppose to be a pointer,
	but when I did it I assumed it was suppose to be a pointer.
	I don't know about the rest of your code,
	but this alone will kill you.
	I would make sure that you actually have something in your
	strings from your search also (you probably don't if you
	were using this param as the struct itself)