The MASM Forum Archive 2004 to 2012

Project Support Forums => IDE Development and Support => Easy Code => Topic started by: proton on November 15, 2005, 09:52:41 PM

Title: Could it generate message controlled procedures(like events in VB)
Post by: proton on November 15, 2005, 09:52:41 PM
Hello sir,
              Thanks for your reply,Now i understood why it does not produce pure asm.But would it be possible to make it generate
default message controlled procedures like VB's EVENTS.When we select a control it can show us a list of supported commonly used messages for that control & allow us to select it.When i select it, it should create the neccessary code in the WindowProc to check for the selected message & call the EVENT procedure.

                If it is done then it will be better than VB......

Thanks
S.Sheik
Title: Re: Could it generate message controlled procedures(like events in VB)
Post by: Ramon Sala on November 16, 2005, 04:09:59 PM
Hi,

This was the intial idea when Easy Code was thought but I realized it is much better to have the whole window/control procedure, so you can process any message. As you know, VB doesn't have all possible events (i.e. it doesn't have Form_Move, which is the WM_MOVE message). On the other hand, this would increase the additional libraries sizes. Anyway, I'm thinking about generating code and how to do it.

Regards,

Ramon