Some of our customers have Dos custom programs that they have not seen fit to upgrade to PBWIN. We are implementing sticky window positioning so that when a dialog is move to a second screen or any position other than center screen, the next PBWIN program called from a menu will appear in the same position. Also while that program is open any popup program that returns values to the underlying maintenance screen will center itself in the larger parent screen. I'm not use MDI but have gotten all the screens in PBWin to work this way by capturing the Windows position with WM_MOVE and then passing it to the next program called. If the target program has a smaller footprint, I do a little math and center the top left so that it will be centered in the calling program.
The Dos programs that are called from a custom menu, I don't know how to control their position from a PBwin program. If only Dos programs are running they retain their position in a multiple monitor scenario on their own.
A long explanation to ask this question. If I shell to a dos window from a PBwin program, how do I center that dos window over the program that shelled to it?
BOB MECHLER
The Dos programs that are called from a custom menu, I don't know how to control their position from a PBwin program. If only Dos programs are running they retain their position in a multiple monitor scenario on their own.
A long explanation to ask this question. If I shell to a dos window from a PBwin program, how do I center that dos window over the program that shelled to it?
BOB MECHLER
Comment