Hola Andresandyglezl wrote:...
I checked the examples sent and made this.
The idea is to create 2 windows bring, and that moving the window 'Main'
window 'Child' engages a side of the 'Main'.
The following code already does, you have to move the MAIN window and give click,
CHILD window was located on one side of the MAIN. What I want is that
CHILD window is automatically "attach" to stop pressing the button
mouse.
Good idea, nice implementation; thank to share;
wherever goes child, returns to home when his father call
Only two little thought :
- Although the line
PostMessage( hWnd, WM_NCLBUTTONDOWN, HTCAPTION, 0 )
commented, program work with no difference ( as far as I see ).
- When MAIN form clicked after CHILD closed, a problem occurs :
Error: HMG 3.1.5 (2013.07.31)
Window: Form_2 is not defined. Program terminated
Called from SETPROPERTY(7065)
Called from MOVEACTIVEWINDOW(46)
...
Anyway again, thank to share;
every sample grows up our knowledge
Viva HMG