MEDIA CYBERNETICS TECHNICAL SUPPORT
Frequently Asked Questions Technical Service Bulletins Mailing List Archive Contact Us!
Technical Support Home Product Updates Device Drivers Media Cybernetics Home

RE: ImagePro> Full Screen Display?

From: Yuri Gaidoukevitch (yuri@mediacy.com)
Date: 05/08/00


"Yuri Gaidoukevitch" <yuri@mediacy.com> writes:

Hi David,

IPP does not have a function to hide the scrollbars, but it is possible from
a macro.
>From IPP macro you can call any API functions including scrollbar control.
The following macro does the job. Use Ctrl-F7 and Ctrl-F8 to hide/show
scrollbars in full screen mode.

'********************************
Option Explicit

Const SB_HORZ = 0
Const SB_VERT = 1
Const SB_BOTH = 3

Declare Function ShowScrollBar Lib "user32" Alias "ShowScrollBar" _
(ByVal hwnd As Long, ByVal wBar As Long, ByVal bShow As Long) As Long

Sub HideScrollBars()
'<c>F7
	Dim WndHandle As Long
	ret = IpDocGet(GETDOCWND, DOCSEL_ACTIVE, WndHandle)
	ret = ShowScrollBar(WndHandle,SB_BOTH,0)
	ret = ShowScrollBar(WndHandle,SB_BOTH,0)
End Sub

Sub ShowScrollBars()
'<c>F8
	Dim WndHandle As Long
	ret = IpDocGet(GETDOCWND, DOCSEL_ACTIVE, WndHandle)
	ret = ShowScrollBar(WndHandle,SB_BOTH,1)
End Sub

'********************************

Best regards,

Yuri Gaidoukevitch

Application Engineer
Media Cybernetics

Frambozenweg 139	Tel:      +31-71-5730639
2321 KA Leiden		Fax:     +31-71-5730640
The Netherlands	E-mail: yuri@mediacy.com
			Internet: http://www.mediacy.com



-----Original Message-----
From:	owner-imagepro-users@atlantech.net
[mailto:owner-imagepro-users@atlantech.net] On Behalf Of David Lees
Sent:	Thursday, May 04, 2000 01:48
To:	imagepro-users@home.atlantech.net
Subject:	Re: ImagePro> Full Screen Display?

David Lees <debl@world.std.com> writes:

That is a big help.  The only artifact left is the scroll bars on the
right and bottom, even when I size the image so that scroll bars are not
needed.  Is there an option somewhere to display without scroll bars
when the image fits on the screen?

Thanks.

David Lees


John Schmitz wrote:
>
> "John Schmitz" <john@mediacy.com> writes:
>
> Try the F4 key.
> Hope this helps,
> John A. Schmitz
> Vice President of Engineering
> Media Cybernetics
> (301) 495-3305 x267
> john@mediacy.com
>
> -----Original Message-----
> From: owner-imagepro-users@atlantech.net
> [mailto:owner-imagepro-users@atlantech.net]On Behalf Of David Lees
> Sent: Wednesday, May 03, 2000 5:28 PM
> To: imagepro-users@home.atlantech.net
> Subject: ImagePro> Full Screen Display?
>
> David Lees <debl@world.std.com> writes:
>
> Is there a mode where ImagePro 4.1 can display images full screen, with
> no borders, menus or IPP microscope icons?  It is simple to get rid of
> the toolbar, but the rest is not obvious.
>
> David Lees
>
> ---------------------------------
> This is the Image-Pro Plus users email list. To unsubscribe, visit
> http://www.mediacy.com/ipplist.htm#unsub. For IPP macros, modules, and
more,
> visit http://www.solutions-zone.com.
>
> ---------------------------------
> This is the Image-Pro Plus users email list. To unsubscribe, visit
> http://www.mediacy.com/ipplist.htm#unsub. For IPP macros, modules, and
more,
> visit http://www.solutions-zone.com.
---------------------------------
This is the Image-Pro Plus users email list. To unsubscribe, visit
http://www.mediacy.com/ipplist.htm#unsub. For IPP macros, modules, and more,
visit http://www.solutions-zone.com.

---------------------------------
This is the Image-Pro Plus users email list. To unsubscribe, visit
http://www.mediacy.com/ipplist.htm#unsub. For IPP macros, modules, and more,
visit http://www.solutions-zone.com.



This archive was generated by hypermail 2b29 : 08/04/00 EDT