how to map a message in visual Studio .net ?

  • Thread starter Thread starter Polaris
  • Start date Start date
P

Polaris

Hi:

In VisualStudio 6, there is a place allows developer to implement mapping of
windows message and its handler easily under View -> ClassWizard. For
example, I can map WM_TIMER to my own handler function using this feature.

Just wonder, is there similar feature in .net ? I could not find it (a bit
hard to believe!)

Thanks In Advance !
Polaris
 
Hallo Polaris!
In VisualStudio 6, there is a place allows developer to implement mapping of
windows message and its handler easily under View -> ClassWizard. For
example, I can map WM_TIMER to my own handler function using this feature.

Just wonder, is there similar feature in .net ? I could not find it (a bit
hard to believe!)

Select the class in the class view.
Show the properties for this class.
Click on the messages button in the properties window.
You wil find the messages here.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top