I was told that GetMaxWindows, called from the highest level via a reference to the current experiment, would return the maximum number of windows in the current tube. GetMaxSessions is supposed to do a similar thing, but for sessions. After receiving a bogus number from this call when trying to use it for ProgressWindow arrow buttons, I tracked down where these calls are set, and I don't believe they are being set correctly. They are being set in ProgressDlg.cpp via the controller, such as C_SetMaxSession and C_SetMaxWindow.
Assigned to ebrandt
In the progress dialog boxes, it looks like the labels on the "window" access tend to get thrown off after scrolling right a few times and then scrolling back. I'm investigating whether the SetMaxSession and SetMaxWindow issue is causing this.
In my previous comment, the word "access" should be "axis"