🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5717

Re: Draw WinControls on form

#5717
From: Remy Lebeau (TeamB)
Date: Thu, 21 Jul 2005 17:26
26 lines
2034 bytes
"Thorsten Kettner" <QUESTIONBYthorsten.kettner@ott.de> wrote in message
news:42dfb413$1@newsgroups.borland.com...

> What I need for my IDE is to receive all the mouse
> events (move, click, startdrag, and so on)

Then look at SetCapture().  That way, all mouse input is directed to the IDE
directly regardless of which control the input is actually occuring.

> I would like to try it, but don't know how to tell a VCL
> control "don't do your default behaviour, just give me the
> events".

By not allowing the mouse input to reach the control in the first place.

> PS: I still think that if I rendered my control to a paintbox
> for instance, I would get all mouse events (of the paintbox),
> but no default control mouse behaviour, as the paint box just
> represents the control, but it is not the control itself.

As I've already explained to you in another discussion, that is
overcomplicating your design, and it NOT the way to handle the situation.


Gambit
Technical Details
Message-ID: <42dfdbd8$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <42dbd87f$1@newsgroups.borland.com> <42dbe2e2$3@newsgroups.borland.com> <42dcddc7$1@newsgroups.borland.com> <42dd2a41$1@newsgroups.borland.com> <42dfb413$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c52395efb5c800b0
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42dbd87f$1@newsgroups.borland.com> <42dbe2e2$3@newsgroups.borland.com> <42dcddc7$1@newsgroups.borland.com> <42dd2a41$1@newsgroups.borland.com> <42dfb413$1@newsgroups.borland.com>
Subject: Re: Draw WinControls on form
Date: Thu, 21 Jul 2005 10:26:29 -0700
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <42dfdbd8$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1121967064 68.69.17.41 (21 Jul 2005 10:31:04 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail