Beginner question: Limit number of MDI pages open at one time...
-
I have an MDI application. What I need to do is limit the number of MDI windows open at one time to two(2). How can I do this easily? I thought of using OnFileOpen() and then counting the number of times it went to this function was called, but I can still open multiple windows. Then I thought of going into the resources. I saw they had about 28 files that could be opened, so I limited that to two. That didn't work either. I have no other code to show you, but any hints would be appreciated. Best, John Soares support@onlinescamreports.com
-
I have an MDI application. What I need to do is limit the number of MDI windows open at one time to two(2). How can I do this easily? I thought of using OnFileOpen() and then counting the number of times it went to this function was called, but I can still open multiple windows. Then I thought of going into the resources. I saw they had about 28 files that could be opened, so I limited that to two. That didn't work either. I have no other code to show you, but any hints would be appreciated. Best, John Soares support@onlinescamreports.com
Do you have multiple document templates? Or multiple views off of the same document... Either way what you are asking is possible. Just two different ways to do it.