Yes, thanks for those examples, Aurel.
I am refactoring the demo Oxide: This macro is deployed within the WM_CREATE case.
Oxygen macros can be placed anywhere and have local scope. I think this is an acceptable use of macros because it does not hide the code.
macro EditW(i,style)
hchw(i)=CreateWindowEx(0,"edit",null,style,0,0,0,0,hwnd,id+i,inst,null)
end macro
'
EditW 0,MainEditStyle
EditW 1,style
EditW 2,style
EditW 3,style
Charles