[comp.windows.open-look] XView PanelList Question

straw@cam.nist.gov (Mike Strawbridge) (12/13/90)

I'm having trouble using xv_set() to deselect a row in a PANEL LIST.

In the notify procedure that gets called for List I have

    xv_set( List, PANEL_LIST_SELECT, (int)(client_data) - 1, FALSE, NULL);

Where the client_data assigned to each row is "1" for row 0, "2" for row 1, 
etc.

This isn't working. What am I doing wrong?

mike

-----------------------------------------------------------------------
NAME:   Michael Strawbridge             	TELE: (301) 975-3852
USMAIL: National Institute of Standards 	ARPA: straw@cam.nist.gov
		and Technology            	UUCP: uunet!cme-durer!straw
        Rm. B-146, Bldg. 225
        Gaithersburg, MD  20899

chua@Neon.Stanford.EDU (Teck-Joo Chua) (01/29/91)

I have a question regarding the scrollbar in a XView panel list.  Is there
a way that we can get a handler on it, or be informed when scrolling is
being done (like the scrollbars in a canvas)?

I am writing an application where if a user scrolls a panel list, I would like
to have a canvas scrolled correspondingly.

Thanks.


-- 
-------------------------------------------------------------------------
* Teck-Joo Chua		 	 |	Computer Science Department 	*
* Email: chua@cs.stanford.edu	 |	Stanford University	      	*
* Phone: (415) 497-6699		 |	Stanford, California 94305    	*

mike@cosmos.acs.calpoly.edu (Mike Maughmer) (05/08/91)

I'm posting this for a friend who doesn't have news posting privileges.
Please do not post a followup, as he'll never see it, and please don't reply
to me.  Rather, please mail your replies directly to to Ernie Billings at
ebilling@polyslo.calpoly.edu.  Thanks . . .

=== begin ===

I am wondering if anyone has handled double clicking on a PANEL_LIST in XView.
According to Sun's March Bug List, Bug #1022991, PANEL_EVENT_PROC does not get

Thankx.
events.  Should I move to the OpenLook Intrinsics?

=== end ===


Mike Maughmer
mike@cosmos.acs.calpoly.edu
Cal Poly State University
San Luis Obispo, California