|
|
#1 |
|
Frenzied Member
Join Date: Mar 02
Location: swamp land
Posts: 1,267
![]() |
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. |
|
|
|
|
|
#2 |
|
Kitten
Join Date: Aug 01
Location: In a microchip!
Posts: 11,594
![]() ![]() ![]() ![]() ![]() ![]() |
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. |
|
|
|
|
|
#3 |
|
Frenzied Member
Join Date: Mar 02
Location: swamp land
Posts: 1,267
![]() |
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.
|
|
|
|
|
|
#4 |
|
Good Ol' Platypus
Join Date: Jan 00
Location: Ontario, Canada
Posts: 5,136
![]() |
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) |
|
|
|
|
|
#5 |
|
Kitten
Join Date: Aug 01
Location: In a microchip!
Posts: 11,594
![]() ![]() ![]() ![]() ![]() ![]() |
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. |
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|