The application I'm working on currently creates forms that are all centered in the screen, not moveable or sizable. Forms are shown or hidden, depending on which buttons you've pushed, so it pretty much is like a big deck of cards. Now, the powers that be want to be able to move the windows. The problem is that when you move one form, you want all the other ones to follow. Is there anyway to propagate a windows message to all the forms, telling them all to move? I did this in the mainform mouse move event
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, y As Single)
Dim lngReturnValue As Long
If Button = 1 Then
lngReturnValue = SendMessage(Me.hWnd, WM_NCLBUTTONDOWN, _
frmSplash.Move Me.left, Me.top
What this does is, when the move is all done, the frmSplash will move under the mainform. What I want is, when I'm dragging the mainform, that the frmSplash follows like it is being dragged as well. Any ideas on how to do this? Thanks.