473,385 Members | 1,546 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Add message handler?


Hi,

I've just migrated from Visual C++ 6.0 to Visual C++ .Net and I can't
seem to add message handlers to my application (for my mouse events).

There is no longer a class wizard and the instructions in help and MSDN
seem to be wrong. They are:

"To define or remove a message handler using the Properties window

In Class View, click the class.
In the Properties window, click the Messages button.
Note The Messages button is available when you select either the
class name in Class View or when you click within the source window."

My trouble is that there is no Messages button. I can't find it
anywhere. Can anyone tell me how to add message handlers to my
application? It's really really really doing my head in. Thanks.

--
Vovin
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Nov 17 '05 #1
2 4372

"Vovin" <Vo**********@mail.codecomments.com> wrote in message
news:Vo**********@mail.codecomments.com...

Hi,

I've just migrated from Visual C++ 6.0 to Visual C++ .Net and I can't
seem to add message handlers to my application (for my mouse events).

There is no longer a class wizard and the instructions in help and MSDN
seem to be wrong. They are:

"To define or remove a message handler using the Properties window

In Class View, click the class.
In the Properties window, click the Messages button.
Note The Messages button is available when you select either the
class name in Class View or when you click within the source window."

My trouble is that there is no Messages button. I can't find it
anywhere. Can anyone tell me how to add message handlers to my
application? It's really really really doing my head in. Thanks.

--
Vovin
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

You'll find the Messages Button in the Properties Window toolbar just to the
right of the events button (yellow lighting bolt).
Hope this helps.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
Nov 17 '05 #2
Vovin wrote:
There is no longer a class wizard
You don't need a wizard. It's as simple as double clicking on an event.
In Class View, click the class.
In the Properties window, click the Messages button.


It's not the Class View but the Properties tab. And it's not called
Messages but Events. And you don't click on the class but on the form
designer.

Tom
Nov 17 '05 #3

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

Similar topics

2
by: Scott Fraysia | last post by:
The product I am working on will employ a messaging scheme to communicate between components. This therefore requires that a message 'mapping' mechanism be implemented to identify and decode...
8
by: Steve | last post by:
I have several pairs of synchronized subforms in an application. I have a Delete button for each pair that uses the following code or similar to delete a record in the second subform: ...
6
by: orekin | last post by:
Hi There I have been trying to come to grips with Application.Run(), Application.Exit() and the Message Pump and I would really appreciate some feedback on the following questions .. There are...
11
by: John Salerno | last post by:
Ok, I'm having this problem again. The first I was able to use the debugger to see that it was being called twice, so I fixed that. This time, though, the debugger does not show it...
1
by: cksj | last post by:
I have a button that will trigger validators. In one special case, I have to show a message box when the button is clicked. In the code behind, I added the following: ...
6
by: tshad | last post by:
I am trying to set up a Javascript popup box that has a way of sending back a message to asp.net on how to process some data. At the moment I am just doing: ...
1
by: mike east | last post by:
Greetings, Am creating a MFC API C++ application. Am using Windows notification messages, with a message-map entry and message-handler member function, that traps mouse movement message and...
6
by: =?Utf-8?B?cHJhZGVlcF9UUA==?= | last post by:
I am trying to create a simple HTTP handler in ASP.net 2.0. I am using VS 2005. I am trying to handle a custom extension file givein in the URL. I have also created the following entry in the...
4
Odisey
by: Odisey | last post by:
Hello, I am attempting to send an error_log() message to my email. I don't see any mistakes - yet it is not sending the email.... Any ideas? <?php #Script 6.2 //Flag variable...
4
by: jdokos | last post by:
Hello All, I have a procedure that is getting -443 after upgrading to V9.5 FP1. The procedure was written to output only the SQLCODE. Here is the output that is returned: Value of output...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.