473,732 Members | 2,214 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Regarding the scrollbars Property in activex control

6 New Member
Hi,

The scrollbars property in one activex which works similar to scrollbars property of textbox control when click on the region between slilder and arrow its moving either end.

so, how to make it move smoothly when click between Slider and arrow


Pankaj
Aug 16 '07 #1
7 2216
Killer42
8,435 Recognized Expert Expert
The scrollbars property in one activex which works similar to scrollbars property of textbox control when click on the region between slilder and arrow its moving either end.

so, how to make it move smoothly when click between Slider and arrow
Do you have access to the source of the "activex"? If not, then I doubt you can control how its scrollbars behave.
Aug 17 '07 #2
panks2007
6 New Member
Do you have access to the source of the "activex"? If not, then I doubt you can control how its scrollbars behave.
Hi,

Yes I have access to source of activex.
but not come to know where the default values are set i.e. that increament value for slider when click on region between slider and arrow end of scrollbar..

Thanks & regards,
Pankaj
Aug 17 '07 #3
Killer42
8,435 Recognized Expert Expert
Yes I have access to source of activex.
but not come to know where the default values are set i.e. that increament value for slider when click on region between slider and arrow end of scrollbar..
Well, in the case of a regular scrollbar control, it's the LargeChange property that you would be interested in.
Aug 17 '07 #4
panks2007
6 New Member
Well, in the case of a regular scrollbar control, it's the LargeChange property that you would be interested in.

Hi,

Yes I know for regular scrollbar LargeChange and smallchange are the properties but for scrollbars properties its not applicable.By default that functionality(C lick on the region between slider and arrow have smooth movement) is there.but in my case that functionality is not working may be its not implemented because the sourse code for that activex is old

Please tell me how that functionality can be set in scrollbars property..

Thanks & Regards,
Pankaj
Aug 17 '07 #5
Killer42
8,435 Recognized Expert Expert
Well, I don't know what type of control it is, or what properties it has. Or what other controls it may be made up of. For instance, if it's a user control which uses a VScrollbar and/or HScrollbar control to provide scrolling, then perhaps you can edit the source and change (or simply expose to the application) the LargeChange and SmallChange properties.
Aug 18 '07 #6
panks2007
6 New Member
Hi,

The message from WndProc( ) is getting wrong WPARAM value for location of slider.

So please tell me how I can get the correct value of position of slider in scrollbar.

Thanks,
Pankaj
Sep 18 '07 #7
Killer42
8,435 Recognized Expert Expert
The message from WndProc( ) is getting wrong WPARAM value for location of slider.
Not sure what you mean. Does the ActiveX control use API calls to do its thing, or what?
Sep 18 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

1
4173
by: Norman Fritag | last post by:
Hi there I have avoided to use active x controls because I thought they are causing more problems then they are doing any good. I a new application I would want to use the tree and list view control in access 2002. Prior to that I like to fine some information or here some feed back from developers who have use active x controls success fully in there application, what their experience was.
1
3745
by: Andi Plotsky | last post by:
I have a subform where I dynamically change the SourceObject dependent upon the User's response to questions on the Main form. My problem is that the scrollbars do not show up on either the Main Form or the Subforms (except for on the opening form, but it doesn't scroll past the top viewable items). If I look at any of the forms separately, the scrollbars do show up and function just fine. The longest subform is 15", and so I have set...
0
1066
by: Krishna Nadh Manepalli | last post by:
Hi All, We need to develop an activeX control using C# and this control should have property page support so that users can change the attributes of the control in design time. (i.e., in front page editor, one can right click on this activeX control and change its attributes). We were successfully able to create activeX cotrol but were not so lucky with property pages support. Neither MSDN or net has any clues
8
1936
by: Pauli Østerø | last post by:
I have a serious problem. I have made an Control which draws a blueprint of a building and a related SpotMatrix. I have made it possible to zoom in on the blueprint and scroll around if the size esceeds the size of the control. But there is something weird happening. Thus more i zoom ind, the bigger gets the miscalculation of the scrollbars maxvalues. That results in that i'm able to scroll to far to the right and down. My ZoomLevel...
5
4940
by: MrNobody | last post by:
I'm doing some custom drawing to a Panel object overriding the onPaint, and the stuff I draw usually goes beyond the ClipRectangle of the panel's current size- so I set autoscroll to true yet it never shows scrollbars. I also tried putting my custom Panel inside of a regular Panel with Autoscroll true andf it still does not work. What can I do to make scrollbars appear? Is there a size setting I have to change on my Panel so that it...
0
1016
by: Vijay | last post by:
I m trying hard to create an activeX control that will be having an datagrid control in VC++ 6.0. My Approach: I am creating a project of type MFC ActiveX control wizard. Adding a dialog to the resources. RtClink on the dialog and selecting Insert ActiveX control, then selecting Microsoft Datagrid from it. The data grid control is placed over the dialog. Im able to build the activeX successfully. But when I try to run it in an ActiveX...
17
2090
by: Dino M. Buljubasic | last post by:
I have a treeview and a checked list view controls one beside another. I want to make them work so that when I scroll down or up one of them the other does the same. Any help will be appreciated -- Dino Buljubasic Software Developer http://rivusglobal.com
5
11115
by: Christopher Kurtis Koeber | last post by:
Dear All, This may sound like an elementary question but how do you implement scrollbars for the Picturebox control. Do I have to create my own code to do this or is there some property that I can set? Thank you very much for your time and consideration in this matter! Christopher Koeber
2
4285
by: kulabhishek | last post by:
Hello all. I have developed one user control "Grid" in C# and I am using it in another user control inside one panel. The AutoScroll property for the panel is enabled. When the height or width of "Grid" increases and becomes more than panel size, scrollbars of panel are enabled. When I scroll using any scrollbar and click on the "Grid" which is inside panel, the position of the scrolled scrollbar changes automatically and...
0
8946
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9447
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9307
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9181
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6735
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6031
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.