473,657 Members | 2,497 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VCL component and mouse...

Hi, i've got a big problem. I'm writing a VCL component [using BCB].
This component have o be a Knob which have to work as a ScrollBar.
Have anyone an idea how to use mouse writing this component. I inherit
from TGraphic and i have drawn an ellipse and a second ellipse in it.
The second ellipse will move around the bigger one. I used TMouse but
i don't know how to get mouse coordinates when mouse cursor is inside
the bigger ellipse. Using TMouse i can get the mouse coordinates from
the screen [the left upper corner of it]. Maybe someone have an idea
how to change this. Maybe someone know how to use OnMouseDown event in
writing VCL Component?? I can't get it to work:( help me ppl
Jul 22 '05 #1
1 1464
Barryss wrote:
Hi, i've got a big problem. I'm writing a VCL component [using BCB].


Off-topic. See:
http://parashift.com/c++-faq-lite/ho...t.html#faq-5.9
--
Sumit Rajan <su*********@gm ail.com>
Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1916
by: Fernando Mato Mira | last post by:
Hello, I need a WYSIWYG pure java editor component or a viewer with an API for mouse click events and a way to reverse map the click position to the XSL-FO source or tree. It should support PDF (and possibly RTF). If nothing like this is out there, a pure java transformer library with the support necessary for building the component would fit the bill. Thanks
6
467
by: TnCoder | last post by:
Hi; I just moved from vb 6.0 to vb.net. I am trying to add MS Calendar control to my toolbox. After the control is added, it is not enabled. Is there dll I have to add? Can anyone who could give me a step-by-step on how to add this control? All help would be appreciated.
5
2128
by: Ian Sykes | last post by:
I'm writing a web application which has the following requirements for the presentation of tabular data in HTML to users: * Columns and rows can be re-sized by dragging the mouse * Internal vertical scrolling is implemented, with column headers remaining fixed during scrolling * Works with Internet Explorer and Netscape. Compatibility with additional browsers is highly desirable.
1
2277
by: napsters | last post by:
Google uses some javascript for their Google Suggest service (http://www.google.com/webhp?complete=1&hl=en). When you type 'whatever', the script (http://www.google.com/ac.js, or, more readable, http://www.romanzieri.com/google_suggest.js) calls http://www.google.com/complete/search?hl=en&js=true&qu=whatever. It looks a bit like LiveSearch, which has a hell of a cleaner script (http://blog4.bitflux.ch/wiki/LiveSearch#Source_Code, demo at...
1
1950
by: Mircea | last post by:
How I can create a movable component, for example a button, in run-time? Thanks
2
1305
by: Kurt Schroeder | last post by:
thanks much!!!i'm working through an example that creates a component called component.dll. This compiled ok w/o problem. I copied it to the bin directory of my project (vs.net asp.net vb project) when i attempt to reference it in my source it is not found. and when i compile it same thing. how do i get my program to reconize this class. using code behind. here is my source: Imports component <--- is not found how do i add it? Imports...
0
975
by: Mark Bebbington | last post by:
Ok, I really am going to hit this PC in a minute! Does anyone know how to add a Description Field to Public Functions, Procedures and Subroutines of a .NET DLL Component (Not a UserControl) that will display in the design environment when your component is referenced by another project (Exactly the same way that any of the Microsoft .NET Components would i.e. System.Windows.Forms.Binding would pop up a tooltip stating what the calling...
5
1798
by: --== Alain ==-- | last post by:
Hi, Several months ago i've asked some information about the best way how to have some particular columns (progress bar, checkbox, images, color picker,...) in a ListView component. It seems that ListView is a complex component and a lot of people advise to build a custom component but not from ListVIew itself. Some use a datagrid component as base component, some build a component
0
8305
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8823
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
8726
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
8603
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...
0
7320
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4151
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
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1944
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1604
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.