|
AFAIK maximize always uses and fills one screen, being the screen that contains most of the
window when not maximized. There is no way to maximize over more than one screen. (The
excuse may be it is not always true the combined screens form a rectangle).
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
I thought so too, until I met the Nullsoft Installer (NSIS) User Manual (.chm). On my system with a rectangle of two monitors (secondary above primary), it came up over two full screens. Maximise it and it fills one screen! On my other system with two different-sized monitors it behaves as you describe.
No idea what's going on.
BTW, this monitor stacking makes negative screen coordinates do something useful.
Cheers,
Peter
|
|
|
|
|
Hi,
maximize behaves as I stated before.
if you have the source code, you can make your app cover whatever rectangle you want,
including the sum of two screens (if that's a rectangle) by giving it the appropriate
Bounds; but then you are not running in "full screen" mode, and as you noted,
maximizing it would bring it back to one screen.
BTW maximize mode sets the window size a bit larger (IIRC 4 pixels) than the screen size!
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
|
In a multithreaded server unix environment, when the system calls are invoked
it is returning the descriptor number 0 randomly and is creating decriptor leakage problems.
Noramlly the system reserve 0 ,1,2 for input ,output and error.
please help to resolve this .
vineesh
|
|
|
|
|
Hi Dear All
I want to disable Task Manager for all the users of windows 2000 and windows XP system.
do you have any idea to do this.
Regards
Monhi
|
|
|
|
|
that is a great idea. next time your app hangs you can reboot. I like it.
read some more messages on this page!
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Luc Pattyn wrote: next time your app hangs you can reboot.
Or you can use taskkill to kill it from cmd
|
|
|
|
|
|
How to find all proxies from command line? How to find out all network configuration ( smpt , pop3 and etc..)?
Thanks
nevlad
|
|
|
|
|
NETSTAT is good starting point
"We are all repositories for genetically-encoded information that we're all spreading back and forth amongst each other, all the time. We're just lousy with information."
- Neal Stephenson
|
|
|
|
|
Hi,
It is said that using the registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\Policies\System\DisableTaskMgr
we can disable Task Manager for all users of a computer. As I test it, in both Win2k and WinXp, its not true. The registry key is only effective if used with HKEY_CURENT_USER, not with HKEY_LOCAL_MACHINE.
Can anybody help me with that, plz?
|
|
|
|
|
|
Thanks, But I have to disable Task Manager from a C++ program. So I can't use the Group Policy Editor (gpedit.msc) of Windows to do this task.
I need to do this via HKEY_LOCAL_MACHINE of the Windows Registry.
|
|
|
|
|
Why do you wish to disable this tool with a dll?
"We are all repositories for genetically-encoded information that we're all spreading back and forth amongst each other, all the time. We're just lousy with information."
- Neal Stephenson
|
|
|
|
|
I want to provide an interface for the user to enable/disable all windows access options(My computer, partition access, network setting, log off...). The Disable Task Manager is mentioned only as a sample. I had managed this in a previous version of my program.
The real problem started when I decided to run the program(for security issues) from 'RunAs' option of Windows. So whatever used to work for HKEY_CURRENT_USER does not work anymore. I need to find a way to enable/disable windows access option for ALL users of a PC within the program(I can't use Group Policy Editor). I tried to use HKEY_LOCAL_MACHINE but it does not work at all, despite being mentioned in may websites like http://www.pctools.com/guides/registry/detail/163
That's the story.
I'd be grateful if anybody could help me.
|
|
|
|
|
If you're building a GUI you may find a better answer asking this question in the forum dedicated to your programming language of choice than a more general forum such as this one.
Otoh, you could always build a batch file then use the button click event of your GUI to envoke the batch file....hmmm
-- modified at 15:16 Monday 3rd September, 2007
"We are all repositories for genetically-encoded information that we're all spreading back and forth amongst each other, all the time. We're just lousy with information."
- Neal Stephenson
|
|
|
|
|
If in case i forget the password of PC what i have to do ?...................i know that if we remove the battery inside the c.p.u and place it again we can, but with out removing this how we can do?
|
|
|
|
|
surendrag wrote: if we remove the battery inside the c.p.u and place it again
That is for BIOS Password.
|
|
|
|
|
Hardly you will find that password simply looking through files and folders: surely it is crypted and hided somewhere.
The better way to solve this is to enter into the system as administrator, take the document files of that user, remove the account, create a new accout and copy there the old documents.
Russell
|
|
|
|
|
Is the PC on a Server 2003 domain with AD?
"We are all repositories for genetically-encoded information that we're all spreading back and forth amongst each other, all the time. We're just lousy with information."
- Neal Stephenson
|
|
|
|
|
At the start of a pc every one will give a password to login(its not mandatory) where that password will store in that pc?....
|
|
|
|
|
|
I need a menu that will axiomatically close after 10 seconds but if you press enter then it lunches other batch file...
I did this for now:
@ECHO OFF<br />
TITLE Menu<br />
:MENU<br />
ECHO ----------------------------------------<br />
ECHO Press "ENTER" to enter setup menu...<br />
ECHO ----------------------------------------<br />
ECHO .<br />
ECHO Type Q to Quit immediately<br />
ECHO .<br />
<br />
set INPUT=<br />
Set /P INPUT=">"<br />
If "%input%"=="" goto runother<br />
If /I "%input%"=="Q" goto QUIT<br />
<br />
:runother<br />
CLS<br />
batchmenu2.bat
All of this works but i need a delay that after 10 seconds this automatically closes...
Anny one can help? :->
|
|
|
|
|
I dont think you will be able to do that directly from cmd commands inside the bat file.. But you could make it run some VB scripts which then sleep for 10 secs and then closes the cmd.exe process or alike (! if there are never any others..)
It was a long time ago i worked with *.vbs files from within cmd but i do remember you can do stuff like sleep, emulate keys etc so it should be possible one way or another
//Johannes
|
|
|
|