473,788 Members | 2,816 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[VC++.NET] about onmousewheel event

Hi,

I have a pictureBox included in a groupBox
when the onmousewheel event of the pictureBox occurs, the scrollbox of the
groupBox moves, I want to prevent that.
Is there any solution, please?

Thanks in advance
Mar 1 '06 #1
0 1094

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

Similar topics

5
2392
by: Ralph Krausse | last post by:
Hello all, New to .NET and was wondering if there is a classwizard to create code for message like VC++ has now, ie. automatically create code for KeyDown or MouseMove. Thanks Ralph
1
2061
by: steph | last post by:
In VC++ . NET designer, if I double click on a button on my form , the IDE generates an event handler for Click event. Is there a way to generate event handler for other events like MouseOver, LostFocus, ... In VB6 there are 2 dropdown lists : one to choose an object and the other to choose the event to manage. Is there something like this in .NET ? Thanks
1
3613
by: Jiang Yue Brandon | last post by:
I am very confused about the different ways of VC++ and C# for doing windows form/dialog design in Visual Studio.NET. In C#, after you drag & drop the components to the form, the underlying codes will be automatically modified to add corresponding objects. However, in VC++, in order to design any forms/dialogs, resources must to be created first, then we need manually
0
1027
by: ajju | last post by:
Hi, I'm a rookie to .Net development. I have two VC++ applications, one is an MFC application and another a VC++.NET managed CONSOLE application. I have to post a message using Messaging Queues. I broadcast the message from MFC application using HWND_BROADCAST. Now this event has to be handled in the managed VC++.NET application. Can anyone give an idea of how to catch this event
0
1061
by: Edward Diener | last post by:
Scenario: base class in one assembly, derived class in another assembly, __event in base class, testing if event has any handlers in derived class with 'if (OnTestEvent) { //etc. }'. Result: LINK : error LNK2020: unresolved token (0A000004) OnTestEvent LINK : fatal error LNK1120: 1 unresolved externals Reproduce:
8
1827
by: The unProfessional | last post by:
To the VC .Net'ers out there... I noticed alot of strange behavior in the way VC .Net apps behave in the IDE. It's a bit odd, so maybe people have workarounds. I'm worried to devote my project to the managed/unmanaged heuristic because these early issues make me feel VC .net just isn't mainstream (or complete) enough yet to depend on. Anyway, one of the things is the code formatting. When adding event handlers and such, the code is...
4
3076
by: Shil | last post by:
Hi, In VC++.Net 2005 visual studio, if I create a new winform drag and drop a button, then double click it to write click event code, then it auto generates the template code for the event in Form1.h file rather than Form1.cpp file. This behaviour is against standard C++ coding standards, where my header file is supposed to just have declarations. I read in other topics that this is due to C# association of single file concept with the...
4
3836
by: tlemcenvisit | last post by:
Hi, I program a windows form application with VC++.NET, I wish to program an event which occurs when the user uses the mouse wheel in a pictureBox control. Which event should I use? And how can I program that? Thanks in advance
1
2258
by: jonpb | last post by:
Hi, I am extending a PictureBox. I have implemented overrides of OnResize and OnMouseMove that work as I expected, i.e. they handle the windows message sent by the system and calling base.OnResize raises the C# event for other listeners in the application. However, overriding the OnMouseWheel, the function is never entered. Is there something special about overriding OnMouseWheel for a PictureBox? Thanks very much
0
9656
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
10172
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...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9967
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
8993
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...
1
7517
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
6750
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
5398
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
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.