Any VB.NET gurus around here?

rpc64

Platinum Member
Jan 5, 2002
2,135
0
0
I am trying to make a form that is completely full screen. I have the borderstyle set to none and the height and width set to the screen height and width. However, the windows task bar is still showing up in front of my form. How do I get rid of it? Thanks.
 

oog

Golden Member
Feb 14, 2002
1,721
0
0
I don't remember off the top of my head. I know there is a Win32 API to set a window always on top. What I can't remember is if there is a similar property for a form. I seem to remember that there is.
 

rpc64

Platinum Member
Jan 5, 2002
2,135
0
0
There is a property called 'TopMost' which I have set to true....
 

rpc64

Platinum Member
Jan 5, 2002
2,135
0
0
This is just a very basic little thing I'm messing with. Not a web app.
 

MrChad

Lifer
Aug 22, 2001
13,507
3
81
Found this thread from googling.

If you remove the Form's border, the caption, and any system buttons (ControlBox, Minimize, Maximize) and set the WindowState to Maximized, it will go "full screen", even over the task bar.
 

rpc64

Platinum Member
Jan 5, 2002
2,135
0
0
Yes! Thank you! I've been looking for a while (and I have actually googled it) but hadn't been able to find it. Wahoo!

Hey while I'm at it, can anyone tell me how to disable certain hotkeys such as ALT-TAB, ALT-F4, WINDOWS-D, etc.?
 

oog

Golden Member
Feb 14, 2002
1,721
0
0
it sounds like you're trying to build an app that is the only thing that the user can run. if so, you should just set the appropriate policies in the group policy editor instead of trying to disable each hotkey.
 

rpc64

Platinum Member
Jan 5, 2002
2,135
0
0
Originally posted by: oog
it sounds like you're trying to build an app that is the only thing that the user can run. if so, you should just set the appropriate policies in the group policy editor instead of trying to disable each hotkey.

You are correct and I see what you're saying. The thing is I want this app to the the only thing the user sees. I don't want them to be able to minimize it or switch out of it or anything. Using policies and permissions is of course the simplest, most obvious solution to restricting the user. But I have a friend who asked me if I could make a program like this and I just wanted to see if it would be feasible.