Thread View: comp.lang.basic.visual
2 messages
2 total messages
Started by DragonEyes
Thu, 12 Mar 1998 00:00
Need Help: IMG Full Screen
Author: DragonEyes
Date: Thu, 12 Mar 1998 00:00
Date: Thu, 12 Mar 1998 00:00
11 lines
1501 bytes
1501 bytes
Does anyone know how to make a Picture box display Full Screen. I have a app that needs this options. I tried to tell VB to change the Border Style but this can not be done at run time. The app I'm designing is a slide show type, Does anyone know How to make the picture box display full screen? Please E-Mail me and Thanks for the help. -- SnapDragon E-Mail cooltj@concentric.net
Re: Need Help: IMG Full Screen
Author: Koen Matthijs
Date: Fri, 13 Mar 1998 00:00
Date: Fri, 13 Mar 1998 00:00
35 lines
2115 bytes
2115 bytes
Use the following Win32 API function to change window settings :
LONG SetWindowLong(
HWND hwnd, // handle of window
int nIndex, // offset of value to set
LONG lNewLong // new value
);
Set index to either GWL_EXSTYLE (sets a new extended window style) or
GWL_STYLE (sets a new window style). The value to be supplied in <lNewLong>
must apply to the style you want to change (GWL_STYLE or GWL_EXSTYLE) and
can be found in the Win32 API documentation.
With kind regards,
Koen Matthijs
DragonEyes wrote in message <6eagan$mi8@examiner.concentric.net>...
>Does anyone know how to make a Picture box display Full Screen. I have a
app
>that needs this options. I tried to tell VB to change the Border Style but
>this can not be done at run time. The app I'm designing is a slide show
>type, Does anyone know How to make the picture box display full screen?
>Please E-Mail me and Thanks for the help.
>
>--
>SnapDragon
>E-Mail
>cooltj@concentric.net
>
>
>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads