|
-
Jun 12th, 2003, 12:54 PM
#1
Thread Starter
Frenzied Member
subclassing or hooks maybe..?
I have a small problem with my system at home. I have two video cards in it one hooked to my monitor one to my tv. i want to create a list of class names or something like that which will be used to force application to run on the tv or display adapter 1. I have never messed with hooks or anything so i am not sure if that is what I need or not.
Any way I have a bunch of very simple games and things that I want to run on the tv but when they go fullscreen they run on he monitor because it is the primary display and I can't make the tv primary because that messes with playing movies on the tv because whatever i do while the kids and wife are watching a move opens on the tv instead of the monitor whe the tv is set for primary. so I was thinking if I could set a hook and have it check a list of app class names...that might do it.
Unfortunatly I am clueless. Please help me guys.
Thanks.
Magiaus
If I helped give me some points.
-
Jun 15th, 2003, 03:45 PM
#2
EnumWindows to get all window handles, then GetWindowLongPtr to get their class names.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jun 15th, 2003, 04:52 PM
#3
Thread Starter
Frenzied Member
that part i can handle
it's how to make the applicatio n use a certian card when its code isn't written to handle that. I don't know. I haven't had much time to reaserch it it i was hoping someone here would just know how to do it and could show me an example. I think I am going to try to read up on it tonight.
Magiaus
If I helped give me some points.
-
Jun 15th, 2003, 06:02 PM
#4
Good Ol' Platypus
Search for a 2D-only device driver for the adapter you don't want to use in 3D games. What card is it? I've access to a few old driver archives that I could look into for you.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Jun 16th, 2003, 01:10 AM
#5
I doubt you can force other apps to do such a thing.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|