Do not quite understand what you mean to me.
The changes you made are functional, but better would be to modify the window freely.
A few days ago, use your modified versions with RH and apply them to the patch of the storage unit.
I have tried many ways to change with the different styles and RH extyles and no way to get it.

This is the main window. I add maximize icon( WS_MAXIMIZEBOX) and variable size (WS_THICKFRAME)

Code:
Please Login or Register to see the links
The problem is that when you enlarge the window, the icons and windows do not move within the edge of the window.
The only command I know of that can do this is "Anchors", but in ASM, I do not know how to use it.
Maybe there's another way to do it.
May also be the problem, the "Class" to which the window belongs.

Perhaps a more powerful editor resources, allow this kind of change, I do not know.
So I asked some programmer creates a simple window with a button, and make two versions of it. In C + +
That button is anchored to the bottom-right side of them.
In the other that this button is not anchored to anything.
If I compare with RH, and looking at the ASM code maybe learn something more.