473,320 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

how to take control of entire screen?

I'd like to take over the whole screen, eg: the user sees no taskbar etc - I
don't want to use directx, do I need to head down the road
of gdi+ ? or is there some way to force a form to be so big?

thanks

C
Nov 15 '05 #1
2 1388
Set your form's border to none, controlbox=false, maximizebox=false, minimizebox=false, windowstate=maximized, topmost=true and set the form's text (i.e., caption) = nothing.

This will make your form take up the entire screen - but the user will still be able to access the taskbar and start menu by pressing the 'Window' key on their keybord. There are ways to prevent that but I don't know any offhand.

Nov 15 '05 #2
thanks, the only downside of this is the taskbar is still visible if it's
not set to autohide.

I don't mind the user tasking to other applications, most directx games
still allow even that.

C

"mredmond" <an*******@discussions.microsoft.com> wrote in message
news:24**********************************@microsof t.com...
Set your form's border to none, controlbox=false, maximizebox=false, minimizebox=false, windowstate=maximized, topmost=true and set the form's
text (i.e., caption) = nothing.
This will make your form take up the entire screen - but the user will still be able to access the taskbar and start menu by pressing the 'Window'
key on their keybord. There are ways to prevent that but I don't know any
offhand.

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Will Stuyvesant | last post by:
I never used the popen or popen2 libraries but it is my understanding that they can capture the output of console based programs. Is it also possible to send keystrokes to console base programs? ...
3
by: Nilesh | last post by:
Hi, In my application i need to create the controls at runtime and also need to position them. I am doing it by this like, control.Location = new Point(x,y); Now when i am getting lets say y...
1
by: Abd | last post by:
Hiiiiiii I am programming in Visual C++ 6.0 I want to get RGB percent of all of pixls of screen, and so I need to get Device Context of entire screen. I know that CClientDC dc(this) gets a divice...
1
by: VINAY | last post by:
Dear All, The subject line could be bit confusing. So let me explain in details, please have patience. I have developed an ActiveX Control(Combo Box Control) in VB6 for a touch screen...
5
by: Eric A. Johnson | last post by:
I'm trying to create an invisible form to start my program with. It will be the startup object; I have it set at 0% opacity, since there is no Visible property to set for forms (at least, not that...
3
by: Netter | last post by:
I made a usercontrol (a couple of years ago). Actually it is a calculator with lots of little buttons. I have the control on a form. When I view the form in the IDE (or when running) the...
6
by: NvrBst | last post by:
Hello. I can pInvoke "GetDC" with NULL or "IntPtr.Zero" and get the hDC for the entire screen. I can use the hDC for stuff like "GetPixel" and it works fine. When I try to do the... ...
11
by: baburk | last post by:
I wants to capture Table contents(ie. entire table) into image file in aspx page. How to do?. There is a code for captuer a portion of he screen. Cature a rectangle of the screen and save to...
14
by: AdamOnAccess | last post by:
I have an access form with a web browser control and I'm trying to enable it to resize with the form. The code causes the web browser control to shink and grow to the exact dimensions of the form,...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.