To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
VBForums  

VB Wire News
Part 10 of the Visual Basic .NET 2010 Express Tutorial Complete!
How to Use the Visual Studio Code Analysis Tool FxCop
Article :: Interview with Andrei Alexandrescu (Part 3 of 3)
Introducing Visual Studio LightSwitch
Visual Studio LightSwitch Beta 1 is Available



Go Back   VBForums > Other Languages > C and C++

Reply Post New Thread
 
Thread Tools Display Modes
Old Jun 12th, 2003, 12:54 PM   #1
Magiaus
Frenzied Member
 
Magiaus's Avatar
 
Join Date: Mar 02
Location: swamp land
Posts: 1,267
Magiaus is on a distinguished road (20+)
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.
Magiaus is offline   Reply With Quote
Old Jun 15th, 2003, 03:45 PM   #2
CornedBee
Kitten
 
CornedBee's Avatar
 
Join Date: Aug 01
Location: In a microchip!
Posts: 11,594
CornedBee is a glorious beacon of light (400+)CornedBee is a glorious beacon of light (400+)CornedBee is a glorious beacon of light (400+)CornedBee is a glorious beacon of light (400+)CornedBee is a glorious beacon of light (400+)CornedBee is a glorious beacon of light (400+)
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.
CornedBee is offline   Reply With Quote
Old Jun 15th, 2003, 04:52 PM   #3
Magiaus
Frenzied Member
 
Magiaus's Avatar
 
Join Date: Mar 02
Location: swamp land
Posts: 1,267
Magiaus is on a distinguished road (20+)
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.
Magiaus is offline   Reply With Quote
Old Jun 15th, 2003, 06:02 PM   #4
Sastraxi
Good Ol' Platypus
 
Sastraxi's Avatar
 
Join Date: Jan 00
Location: Ontario, Canada
Posts: 5,136
Sastraxi is on a distinguished road (10+)
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)
Sastraxi is offline   Reply With Quote
Old Jun 16th, 2003, 01:10 AM   #5
CornedBee
Kitten
 
CornedBee's Avatar
 
Join Date: Aug 01
Location: In a microchip!
Posts: 11,594
CornedBee is a glorious beacon of light (400+)CornedBee is a glorious beacon of light (400+)CornedBee is a glorious beacon of light (400+)CornedBee is a glorious beacon of light (400+)CornedBee is a glorious beacon of light (400+)CornedBee is a glorious beacon of light (400+)
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.
CornedBee is offline   Reply With Quote
Reply

Go Back   VBForums > Other Languages > C and C++


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:07 AM.





Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.