🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#1401
From: Remy Lebeau (TeamB)
Date: Wed, 15 Aug 2007 16:50
14 lines
1334 bytes
"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: <46c330b9$1@newsgroups.borland.com>
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!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46C2BEFF.AEE49233@skynet.be>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,6b88ac329f276bdb
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <46C2BEFF.AEE49233@skynet.be>
Subject: Re: How to Manage the Mouse Wheel on a TImage ?
Date: Wed, 15 Aug 2007 09:50:26 -0700
Lines: 16
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: 75.83.29.61
Message-ID: <46c330b9$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1187197113 75.83.29.61 (15 Aug 2007 09:58:33 -0700)
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!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail