![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Nov 2005
Location: Belfast
Posts: 35
Rep Power: 0
![]() |
Making a minimizer
I have a game for the pc, which takes up the full screen. I want to make a program that will minimize it to the taskbar so that i can do other things while the game is running(e.g. look at a gaming website). How would I go about this, or what code would I use?
|
|
|
|
|
|
#2 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
doesn't ALT+TAB work, or pressing the start button? You can also CTRL+ALT+DEL, which will show up together with the task bar. You can pick another task from the taskbar then, and close the task manager.
|
|
|
|
|
|
#3 |
|
Programmer
Join Date: Nov 2005
Location: Belfast
Posts: 35
Rep Power: 0
![]() |
Yes but if there is less 'work' involved in minimizing then it will benefit the gamer(as he/she will kill more people
) <-- dont quote me on that .Plus, this is for my own experience on what code is used for this type of program. |
|
|
|
|
|
#4 |
|
Expert Programmer
|
ALT+TAB is doing exactly what you described.
But if you think you can do a better job look at the win32api.
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#5 |
|
Professional Programmer
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4
![]() |
There are some games that use alt+tab protection... How about this?
|
|
|
|
|
|
#6 | |
|
Caffeinated Neural Net
![]() Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,033
Rep Power: 5
![]() |
Quote:
If this is meaningless to you, then you should grab a tutorial on Windows programming that explains the basics, like window registration, messages, and the window's callback function.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot. - Vaarsuvius, Order of the Stick |
|
|
|
|
|
|
#7 |
|
Programmer
Join Date: Nov 2005
Location: Belfast
Posts: 35
Rep Power: 0
![]() |
I may be able to work with some of this, thanks for the help.
|
|
|
|
|
|
#8 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5
![]() |
This might help you get the handle.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for." -- Socrates |
|
|
|
|
|
#9 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
Minimizing a fullscreen DirectX window causes the device context to be lost. Textures and models that were in video memory typically have to be reloaded (notice the delay when switching back). All in all, it works better to run the game in windowed mode.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
|
|
#10 |
|
Programmer
Join Date: Nov 2005
Location: Belfast
Posts: 35
Rep Power: 0
![]() |
The other programs ive seen load the game immediately. No gamers have complained about this program. I am simply asking if someone could tell me how I would go about making a program like this. I will make one no matter what criticism is posted because i know it will benefit me at the end of the day.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|