M
MacDermott
My client asked for functionality which would let his users save the
position of a form, so that the next time it's opened (on that system), it
returns to the saved position. I achieved this using the GetWindowPlacement
and SetWindowPlacement API calls.
That worked fine, until my client noticed that if the form being
repositioned (this occurs in the OnLoad event) has been opened acDialog, it
loses this property.
I haven't even been able to figure out a way to tell whether the form is
opened acDialog.
Any ideas?
TIA
position of a form, so that the next time it's opened (on that system), it
returns to the saved position. I achieved this using the GetWindowPlacement
and SetWindowPlacement API calls.
That worked fine, until my client noticed that if the form being
repositioned (this occurs in the OnLoad event) has been opened acDialog, it
loses this property.
I haven't even been able to figure out a way to tell whether the form is
opened acDialog.
Any ideas?
TIA