Hi Vladimir,
I agree with you. I too am not interested in re-inventing the wheels. I think I shall concentrate more on using the ActiveX controls. One thing is sure, it does make the tasks a lot easy. But like Chris said, using ActiveX controls may increase the overhead. Do you agree with that? Do you refrain from using Activex controls as far as possible?
TIA
>Hello Hardik!
>
>What you're using for distributing your application? The Setup wizard works
>just fine (for me, I can not speak for other people) in case when I have to
>use ActiveX component. Never got such a problem. But if you want to avoid
>using the ActiveX components, you can make your own Scrollbar class (a big
>headache, can you imagine?) and go ahead with your own solution. As I can
>imagine, this control could be a container with couple of buttons on top
>and bottom edges, a shape that simulate the scrollbar area, and another
>button that simulate the slider.
>The Scrollbar container could have the properties HMin, Hmax that holds the
>min/max possible values and the CurrentPosition that holds the current
>value of slider position. In Click event of buttons you should change
>appropriately the position of slider and the property for Cuurent Value.
>also, you should use Drag event of slider to simulate movement by mouse and
>you should use Click event of shape to simulate standard behaviour of
>scrollbar when you click on scrollbar body. It's only thoughts, I'm not
>have such a control (too lazy to spent time for inventing the wheels <g>)
>
>>>scrollbars, change the position on the image control inside of the
>>container.
>>>The container should clip the sides of the image.
>>>
>>>Chris Holtz
>>
>>Hi Chris,
>>
>>Thanks for that. But, I forgot to mention one thing. I would like to
>>achieve this without using the activex controls as far as possible. I
>have
>>had problems with setting up these activex controls at the client site.
>>Most of the times, they give some sort of usage errors for registration
>and
>>proper licensing. As I am working on a demo copy which I would like to
>send
>>to several persons, I am looking for a more fool-proof solution. May be I
>
>>am not right on my fears. Can you give me more information on it and how
>to
>>curb such problems?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only