Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!sdd.hp.com!ucsd!ucbvax!agate!shelby!morrow.stanford.edu!sioux.Stanford.EDU!lim From: lim@sioux.Stanford.EDU (Wee-Lee Lim) Newsgroups: comp.windows.open-look Subject: XView Slider Question Keywords: XView, Slider Message-ID: <1991Jan30.213312.5355@morrow.stanford.edu> Date: 30 Jan 91 21:33:12 GMT Sender: news@morrow.stanford.edu (News Service) Reply-To: lim@sioux.Stanford.EDU (Wee-Lee Lim) Organization: Data Center, Stanford University, California, USA Lines: 16 I want to have my slider notify me whenever it hits certain values. I tried setting PANEL_NOTIFY_LEVEL to PANEL_ALL so that I call my procedure only when these values get hit. However, it seems that the slider makes discontinuous jumps in value, (ie it goes from 10 to 15 to 18, say), so that values that I am interested in usually get missed. I tried using an event_handler instead, but I was unable to get the correct value of the slider using xv_get(slider, PANEL_VALUE). Instead of getting the value of the slider at the current moment, I get the value of the slider when I first clicked the mouse. Can someone help? Thanks, Wee-Lee