XPost: comp.lang.basic.visual.misc, microsoft.public.vb.general.discussion   
   From: djo@dial.pipex.com   
      
   "Mojo" wrote in message   
   news:KdudnbQRkYpcbMfQnZ2dnUVZ8kGdnZ2d@brightview.co.uk...   
   > Hi All   
   >   
   > I've been a good lad and when my vb6 app was limited for space I created a   
   > picturebox within a picturebox and then used the standard scrollbar to   
   > move   
   > the picturebox contents left and right. This is fine and it's functional,   
   > but the standard vb6 scrollbar looks a bit tired and amateurish, as my   
   > form   
   > design looks completely diff to the grey Win98 look of the scrollbar.   
   >   
   > I've tried putting some nice slim left/right arrows at each side of the   
   > picture to give the same scrollie effect, but my code doesn't seem to give   
   > a   
   > fluid experience/control. You basically have to frantically keep clicking   
   > the left (or right) arrow to make it go left (or right) and it just   
   > doesn't   
   > work.   
   >   
   > Has anybody got any suggestions on how I could make my arrow clicking a   
   > fluid process, I envisaged that they'd just hold the mouse down to make it   
   > move left or right, but how do you invoke this in code OR a better looking   
   > scrollbar offering??   
   >   
   > Thank you in advance.   
   >   
      
   Leave the scrollbar alone, use a manifest to make the whole program adopt   
   whatever Windows theming the user has enabled.   
   Alternatively or additionally allow the user to grab (click) the picture   
   with the mouse and drag it around the viewport.   
      
   DaveO.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|