Para mi queda asi y me es funcional para lo que necesito espero que también le sirva a alguien mas... Gracias por la orientación Escafandra
Se incluye mmsystem.h
Código Delphi
[-]
#include
#include
#pragma hdrstop
#include "Unit1.h"
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
/*void __fastcall TForm1::JOY1ButtonDown(TMessage Message) */
void __fastcall TForm1::FormClose(TObject *Sender, TCloseAction &Action)
void __fastcall TForm1::ApplicationEvents1Message(tagMSG &Msg, bool &Handled)
}