Click here to Skip to main content
Click here to Skip to main content

WTL message map wizard add-in

, 5 Nov 2004
Rate this:
Please Sign up or sign in to vote.
Ease the work with the WTL message map.

Introduction

This add-in lets you easily insert messages in the WTL message map without looking in the WTL source file to find the exact definition. It's based on the nice Shengqian Ji MsgMapper tool, all I do here is to transform the executable to an add-in.

How to Install this Add-in

Decompress the binaries in some location, and in Visual Studio Add-in dialog box browse for the location where you decompressed it.

Usage

You just have to put your cursor between BEGIN_MESSAGEMAP and END_MESSAGEMAP, and click on the Message Wizard button on the toolbar, and you'll get a dialog box where there are four buttons named Paste1 to Paste4. You should fill in the Class edit box with your class name if you are using CPP files. Then select a macro name from the combo box, the code generated will appear in the edit box. The functions of the four buttons are listed below:

  • Copy1: copies the macros like MSG_XXXXX(OnXXXXX).
  • Copy1: copies the definition used in header files when using CPP files.
  • Copy3: copies the implementation used in CPP files.
  • Copy4: copies the code for header files when not using CPP files.

Form more details see the original article from Shengqian Ji.

History

  • V1.0 - First release!

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Black Horus
Software Developer (Senior)
Canada Canada
Begin programming in pascal some 8 years ago, then to assembly and C, after seeing that pascal is out of fashion. play a little with Delphi and C++ Builder, to see that was enough.
 

A little mess with other technologies, HTML, CGI, DHTML, PHP.

Comments and Discussions

 
GeneralAsserts in EVC4 PinmemberAaron Hudon6-Nov-04 7:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 6 Nov 2004
Article Copyright 2004 by Black Horus
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid