PcVue resolution

2 Posts
2 Users
0 Likes
37 Views
ACHT
 ACHT
(@a-chaverotarcinfo-com)
Posts: 161
Reputable Member
Topic starter
 

For your information, with last 11.1 Update

To solve an hot case, two new VBA methods and a new VBA event on the Project object (11.1 update and > )

The event :

Private Sub fvProject_ScreenResolutionChanged(ByVal newWidth As Long, ByVal newHeight As Long) End Sub

This event is raised when the screen(s) resolution is changes, for example when, on a video wall, one of the screen lose communication newWidth : the new horizontal screen(s) resolution newHeigh : the new vertical screen(s) resolution

The Methods:

Private Sub RestoreWorkspacePosition ()
End Sub

This subroutine reinitialize the workspace size and position (the one at startup)

Private Sub SetWorkspacePosition (Left as Long, Top as long, Height as long, Width as long) End Sub

This subroutine allow moving and sizing the workspace
If height and width are( 0, 0 ) then only the left and top parameters are taken in account (no sizing)

 
Posted : 18/04/2016 5:54 pm
ED
 ED
(@e-duvalarcinfo-com)
Posts: 138
Estimable Member
 

What a nice KB article this post could be 😉
I guess it will replace to good old batch file that was copying the reference paramws.dat prior to PcVue start-up?

 
Posted : 19/04/2016 6:45 pm