lbowers
asked on
Full Screen Form???
Is it possible to open a form than consumes all of the screen? I need to write a slideshow app that has a completely black screen with my scanned photos in the middle. I don't want any borders or the task bar visible.
Is this possible within VB6?
Also, has anyone already written a fade routine I could use to fade my images in and out cleanly?
Thanks.
Is this possible within VB6?
Also, has anyone already written a fade routine I could use to fade my images in and out cleanly?
Thanks.
Just set the BorderStyle to None and Windowstate to Maximised
ASKER
The task bar will still be visible!
I need VB6 control over the full screen - I don't want the task bar to appear on any recordsing I make from my slide show.
Thanks anyway...
I need VB6 control over the full screen - I don't want the task bar to appear on any recordsing I make from my slide show.
Thanks anyway...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sorry but the task bar would not be visible!
I have an Office TaskBar and the Windows taskBar, both are set to always on top and when you set a forms BorderStyle to None it still covers up both taskbars.
Pepster is right. My taskbar is set to "always on top" and a form with no border DOES cover it unless you hit some combination of keys that forces it back to the foreground (like the Win key that opens the start menu).
even using waty`s method you can still get the start menu to appear by pressing the windows key.
' #VBIDEUtils#************** ********** ********** ********** ********** ******
' * Programmer Name : Waty Thierry
' * Web Site : www.geocities.com/ResearchTriangle/6311/
' * E-Mail : waty.thierry@usa.net
' * Date : 22/10/98
' * Time : 15:50
' * Module Name : Start_Module
' * Module Filename : Start.bas
' ************************** ********** ********** ********** ********** ****
' * Comments : Show/Hide the start button
' *
' ************************** ********** ********** ********** ********** ****
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Private Const SW_HIDE = 0
Private Const SW_SHOWNORMAL = 1
Function HideStartButton()
'This Function Hides the Start Button'
OurParent& = FindWindow("Shell_TrayWnd" , "")
OurHandle& = FindWindowEx(OurParent&, 0, "Button", vbNullString)
ShowWindow OurHandle&, 0
End Function
Function ShowStartButton()
'This Function Shows the Start Button'
OurParent& = FindWindow("Shell_TrayWnd" , "")
OurHandle& = FindWindowEx(OurParent&, 0, "Button", vbNullString)
ShowWindow OurHandle&, 5
End Function
' * Programmer Name : Waty Thierry
' * Web Site : www.geocities.com/ResearchTriangle/6311/
' * E-Mail : waty.thierry@usa.net
' * Date : 22/10/98
' * Time : 15:50
' * Module Name : Start_Module
' * Module Filename : Start.bas
' **************************
' * Comments : Show/Hide the start button
' *
' **************************
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Private Const SW_HIDE = 0
Private Const SW_SHOWNORMAL = 1
Function HideStartButton()
'This Function Hides the Start Button'
OurParent& = FindWindow("Shell_TrayWnd"
OurHandle& = FindWindowEx(OurParent&, 0, "Button", vbNullString)
ShowWindow OurHandle&, 0
End Function
Function ShowStartButton()
'This Function Shows the Start Button'
OurParent& = FindWindow("Shell_TrayWnd"
OurHandle& = FindWindowEx(OurParent&, 0, "Button", vbNullString)
ShowWindow OurHandle&, 5
End Function
Now you can't!
LOL
Waty, have you got an answer for everything? I see this a LOT:
' * Programmer Name : Waty Thierry
LOL
Waty, have you got an answer for everything? I see this a LOT:
' * Programmer Name : Waty Thierry
Again you can still press the windows key to get the start menu.
ASKER
Superb!
ASKER
Anyone have any ideas regarding the photo/image fading in and out?
:)
Sure you can still get the start menu. You probably can't stop that unless you change the Windows shell or change the control type used for the start menu.
If you have Win98 or IE4's Desktop Update, can you still call the Start menu a "Start menu"? It's not a menu control anymore, so shouldn't it be called a "Start BaseBar"?
Anyway, if anyone wants to replace the start menu control with something new, I'm sure disabling it might be easier.
If you have Win98 or IE4's Desktop Update, can you still call the Start menu a "Start menu"? It's not a menu control anymore, so shouldn't it be called a "Start BaseBar"?
Anyway, if anyone wants to replace the start menu control with something new, I'm sure disabling it might be easier.
P.S. Changing the shell isn't an option, anyway since TaskMan is started if the start menu doesn't exist.