Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Foreground Applications

Name: Anonymous 2006-09-25 12:15

Is there a way to NOT make an application become foreground?
But still be able to get user input?
Like maybe, whenever my program is foreground,
make Desktop become foreground?

Name: Anonymous 2006-09-25 15:18

just download a freakin' keylogger, |-|4x0r

Name: Anonymous 2006-09-25 16:08

NICE POEM COCKNUCKLES

Name: Anonymous 2006-09-26 1:33

>>1, I don't think you understand the "focus" paradigm of window managers. Either it has focus, or it does not. There are ways to enable global hotkeys within the manager (like Winamp's hotkey controls), but some TurboC++ project you compiled at school probably doesn't have what you need to do what you're asking.

Name: Anonymous 2006-09-26 4:17

>>4
Hi, thanks for your feedback.
But I need to kinda FORCE Windows 2000 to treat my application as a background window even if it is the foreground window.
Hacking is in the list.

Name: Anonymous 2006-09-26 5:27

Just like there's an "always on top" window attribute, I believe there's an "always on bottom".

Name: Anonymous 2006-09-26 9:00 (sage)

How do I read documentation?

Name: Anonymous 2006-09-26 10:47

>>6

Yeah, SetWindowPos with the HWND_BOTTOM parameter does that. He probably would want to hide the window instead though, using ShowWindow.

Keystroke capture can be done using SetWindowsHookEx with WH_KEYBOARD.

Name: Anonymous 2006-09-26 22:54

>>8
Hi, thanks for your feedback and idea :)
I'm sure your method will be able to work,
and I will probably try it out in coming days.
But I worry in advance that it may not be the most effecient way
because the whole reason for me wanting to do this
(treating my foreground window as a background window)
is to avoid Windows boosting its priority, which UNFORTUNATELY causes my realtime program to run slower instead of faster.

Name: Anonymous 2006-09-26 22:56

>>9
(update & correction)
I mean to avoid Windows boosting its priority or quantum or both

Name: Anonymous 2006-09-27 4:19

>>9
Tweak process priority class or thread priority to your liking

Name: Anonymous 2006-09-28 15:42

>>11
Hi, thanks for your feedback :)
But I have tried that already and it doesn't work as I want it too

Name: Anonymous 2006-09-29 12:44

Then you'll have to edit your registry to alter your quanta settings (somewhere in HKLM\System I think), but this will affect all applications, I'm afraid... See if you can find a Win32 wizard with a better solution, I'm barely a Win32 programmer.

Name: Anonymous 2009-01-14 13:21

SICP

Name: Sgt.Kabu舤kimanힿ恜 2012-05-28 20:10

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List