001 /*
002 * To change this template, choose Tools | Templates
003 * and open the template in the editor.
004 */
005
006 package org.bridj.cpp.mfc;
007 import static org.bridj.cpp.mfc.AFXSignature.*;
008 /**
009 * http://msdn.microsoft.com/en-us/library/0812b0wa(VS.80).aspx
010 * C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\INCLUDE\afxwin.h
011 */
012 public @interface OnMessage {
013
014 /// C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\INCLUDE\afxmsg_.h
015 public enum Type {
016 WM_KEYDOWN("OnKeyDown", AfxSig_vwww),
017 WM_LBUTTONDOWN("OnLButtonDown", AfxSig_vwp);
018
019 Type(String defaultName, AFXSignature afxSig) {
020 this.afxSig = afxSig;
021 this.defaultName = defaultName;
022 }
023 final String defaultName;
024 final AFXSignature afxSig;
025 }
026 Type value();
027 }