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.
 
Back
Top