Subj : Slider Problems To : Udo Zaydowicz From : Vitus Jensen Date : Thu Nov 02 2000 06:45 pm Moin Udo! 01.11.2000, Udo Zaydowicz wrote a message to Vitus Jensen: .... UZ>>> To avoid this, the PM Guide and Reference recommends the UZ>>> use of: UZ> [...] VJ>> "static control" is very urgly to handle (not worth the VJ>> effort in my case), UZ> Yes. But is it at all necessary to have the text? UZ> I assume, that you are using the slider only as a status bar !? Yes, it's a status bar. But the process displayed could run some hours: it's the verification of an RAID >0 array. I'm testing with 200MB disks but users may try VRAID with some 40GB disks... When thinking about my specific use of a slider something like the windows solution would be nice: display the percentage value as a number inside the slider. Is there source code how to subclass a slider to build such a beast? .... VJ>> Idea: if you take a look at the setting notebook of VJ>> c:\os2\apps\klondike.exe (options) you will notice that the VJ>> slider has three ticks but the left one isn't located at VJ>> the left margin. Probably the ticks are placed using VJ>> SLM_ADDDETENT. UZ> Possibly, unfortunately I don't have enough time to check it myself. UZ> Just an idea: Did you try, if at all possible, to strcat a few spaces UZ> (" ") to the "100", ending up with something like "100 ". Maybe it UZ> helps to shift the second 0 a bit to the left. Genius! That's it, I've added 3 spaces and the last zero is now located directly above the tick mark. Just like the value "0". Bye, Vitus --- * Origin: Win95: You make a grown man cry! (2:2474/424.1) .