Could it generate message controlled procedures(like events in VB)

Started by proton, November 15, 2005, 09:52:41 PM

Previous topic - Next topic

proton

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

Ramon Sala

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
Greetings from Catalonia