Hi everyone,
I've changed the application's mdi window's WindowType property form "mdihelp!" to "mdidockhelp!" to make docking windows possible and after that mdi.GetActiveSheet() no longer return a valid window. The mdi is not null, which should mean that there is no active window.. Can you make a window active somehow?
mdi.GetFirstSheet() does return the window I want, but it's not a replacement to GetActiveSheet() as it will only get the same window every time.
I think I should mention that a window of WindowType "response!" might be involved in this mess, but I fail to see how it works with "mdihelp!" and not with "mdihelpdock!".
Do anyone have an idea as to why GetActiveSheet() stopped working?
Any help is much appreciated!
Best regards,
Martin