Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!ncar!unmvax!pprg.unm.edu!hc!lanl!mikeg%monsoon.c3 From: mikeg%monsoon.c3@lanl.gov (Michael P. Gerlek) Newsgroups: comp.windows.x Subject: Re: Re: XtConvert & SetValues for floats Message-ID: <14002@lanl.gov> Date: 26 Jul 89 15:22:43 GMT References: <100920091@hpcvlx.HP.COM> Sender: news@lanl.gov Lines: 25 From article <100920091@hpcvlx.HP.COM>, by ben@hpcvlx.HP.COM (Benjamin Ellsworth): > >> ... Is there something wierd about floats ...? > > You betcha! > [...] > Now perhaps you can understand why there are no examples of widgets > which use float resources. :-( Hmm. Okay - FYI, I've discovered the Athena Scroll widget uses floats to represent percentages. I've not used the Athena kit (I use the HP set), but is this a known bug in the Scroll widget, is there some work-around, or will this will be fixed in R4? Swick@Athena said I could do "some ugly stuff with unions to convince the compiler not to convert the value when storing it in the arglist". Can anyone provide any pointers [no pun intended] on what this means and/or how to do this? Thanks again. [ M.P.Gerlek (mikeg@monsoon.c3.lanl.gov) "Unix is just Public ] [ Los Alamos Nat'l Lab / Merrimack College Domain VMS." ] [ Disclaimer: Yes, Mom, I'll play nice. -anonymous ]