OIPI Preview window minimised (OpenInsight Specific)
At 20 NOV 2001 06:47:17PM Matthew Crozier wrote:
Has anyone encounted the OIPI Pro Preview window being created only in the task bar? This seems to happen particularly with W98 machines here. The task bar Print Preview flashes and you have to click on it to see the report. Is there a way around this?
Also on one particular W98 workstation, the SET_PRINTER 'INIT' call does not return until all windows are minimised (which seems to allow the Print Preview window to come up and the program to continue).
Grateful for any ideas,
Matt.
At 21 NOV 2001 03:37AM Oystein Reigem wrote:
Matthew,
About the first problem. Don't think I ever had that problem with OIPI. But here's an idea:
According to the (old) docs the PrintSetup setting for the Print Preview window can be either
0=Print to printer,
1=Display PrintSetup,
2=Preview normal,
3=Maximized,
4=Last location, or
5=Specific location.
Last location means the size and position of the Print Preview window will be read from the OIPI.INI file.
So could it be you use 4=Last location, and that the last location somehow is stuck on minimized??? Or outside the screen?????? Could there be some problem with the OIPI.INI file? Could you check its contents and see if it looks normal? It's in the Windows folder.
I think WindowState=0 is Restore (a normal window), WindowState=1 is Minimized, and WindowState=2 is Maximized.
The coordinates and stuff can look peculiar because they might be measured in something different than pixels (twips????).
- Oystein -
At 21 NOV 2001 05:43PM Robert Lee wrote:
Hi Mat
Yes I can confirm I have seen the same thing. I can't duplicate the problem at the moment though. I have upgraded to version 4.10 over the last couple of weeks. I wonder if that made the difference?
Robert Lee
At 21 NOV 2001 11:44PM Matthew Crozier wrote:
Thanks, Oystein, for some good clues. However, I changed the INIT command to call up the Preview window in Normal size (PrintSetup=2) instead of Last Position and even got rid of the OIPI.INI file, but it was still doing the same thing.
Cheers, M@
At 21 NOV 2001 11:50PM Matthew Crozier wrote:
Hi Robert,
It could be! I'm using 4.10 too.
Cheers, M@
At 22 NOV 2001 07:30AM Oystein Reigem wrote:
Mat,
There's a Sprezzatura posting that explains how to bring the OIPI Preview window up and forward programmatically: . Just in case the problem persists.
- Oystein -
At 22 NOV 2001 05:48PM Matthew Crozier wrote:
Bonza! - Thanks Oystein. That was exactly what I was after. Thanks for pointing that out reference (not sure how I missed it :#)
As for the second mysterious problem where the 'INIT' call wouldn't continue until all windows were minimised - it seems to be related to the latest build of 4.10 as the problem doesn't happen on a previous alpha version. I'm not sure the problem is in the OIPI32.EXE either because simply copying that over didn't help - I had to run the setup.exe to fix it. Maybe VSPRINT7.OCX ?
Cheers, M@