🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to Manage the Mouse Wheel on a TImage ?

#1404
From: Wookie
Date: Thu, 16 Aug 2007 18:11
19 lines
1622 bytes
Thanks for the input. It works fine. One more question : What is the Windows
Message sent when the OnMouseWheel Event occurs ?

Christophe

"Remy Lebeau (TeamB)" wrote:

> "Wookie" <fa067235@skynet.be> wrote in message
> news:46C2BEFF.AEE49233@skynet.be...
>
> > I would like to handle the mouse wheel on a TImage.
>
> You won't be able to, as TImage is not a windowed control, so it can't
> receive wheel messages from the OS.
>
> What you can do, however, is put the TImage onto a windowed control, such as
> a TScrollBox, and let it handle the scrolling for you.
>
> Gambit
Technical Details
Message-ID: <46C4935B.BE142AC6@skynet.be>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.251.MISMATCH!news-out.readnews.com!transit4.readnews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46C2BEFF.AEE49233@skynet.be> <46c330b9$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,6b88ac329f276bdb
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Message-ID: <46C4935B.BE142AC6@skynet.be>
Date: Thu, 16 Aug 2007 20:11:39 +0200
From: Wookie <fa067235@skynet.be>
X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: How to Manage the Mouse Wheel on a TImage ?
References: <46C2BEFF.AEE49233@skynet.be> <46c330b9$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.241.203.68
X-Trace: newsgroups.borland.com 1187288047 81.241.203.68 (16 Aug 2007 11:14:07 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.251.MISMATCH!news-out.readnews.com!transit4.readnews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail