View Full Version : Problem with resuming resolution
Mahdi
07-03-2006, 02:27 AM
Hi
I need a way of changing resolution by which I can resume the user defined resolution after my program closed. Currently I have several programs in my program that change resolution themselves and after running them my program fails to resume the user resolution. Currenly I use ResMaster.dll for changing resolution. Please help me.
Mahdi
07-04-2006, 04:53 PM
Hi
Nobody want toanswer my question??
I really need the answer. Please help me.
yosik
07-05-2006, 07:13 AM
Check this thread:
http://www.indigorose.com/forums/showthread.php?p=84979#post84979
Yossi
TJ_Tigger
07-05-2006, 07:20 AM
And this thread
Thread (http://www.indigorose.com/forums/search.php)
Mahdi
07-05-2006, 04:41 PM
And this thread
Thread (http://www.indigorose.com/forums/search.php)
Sorry. You probably couldn't understand the point of my question for your ironic answer:
I need a way of changing resolution by which I can resume the user defined resolution after my program closed. Currently I have several programs in my program that change resolution themselves and after running them my program fails to resume the user resolution
And with thanks I didn't understand what did you mean by your first answer (What of this link does relate to my question?!):
Check this thread:
http://www.indigorose.com/forums/sho...4979#post84979
Mahdi
07-05-2006, 04:44 PM
Thanks anyway.
TJ_Tigger
07-05-2006, 09:17 PM
Yoss posted a link to a project that he created that shows how to change resolution of the screen. I believe it uses the dll that you mentioned in your post. Yes I posted a link to the search option because there exists out there several posts on changing the resolution of the users screen. Have you taken a look at the code to see how it is done? Have you tried to add the code to your project to see how it works? If you have tried your own code then post what you have and we can help get it working.
If I understand correctly, when your app closes you want to have the screen assume the original resolution the screen had prior to running your application. If that is the case I would look at using an INI file or the registry to store the original resolution of the screen upon startup of your application. Then when your app closes I would check the current resolution against the saved resoluion and if it is different the reset the resolution back to the original.
HTH Tigg
Corey
07-05-2006, 09:24 PM
You probably couldn't understand the point of my question for your ironic answer:
Mahdi please be polite in our forum. These people are helping you because they are good people, not because they have to. Tigger is right. To be clear no one is just going to build stuff for you. If you want help you must also help yourself. Look at the code, try it, and post your modified code as needed. These fine folks can help but ultimately you are responsible for making it work.
yosik
07-05-2006, 10:38 PM
This must be a lack of "Forum Behaviour Understanding". Like in any group of people (virtual or "live"), there are rules and codes which you have to adhere to if you want to "belong".
You need to be aware of the messages (hidden or not) that words, capital letters, punctuation marks etc.. convey.
As Corey put it very well, no forum user here is obliged, in any way, to spend time, thought and effort to help. It is a voluntary endeavour (and THAT makes it a beautiful thing, IMHO), prompted by the fact that we share a common interest and are, basically, good people willing to help without waiting for any payment in return.
We ALL should be aware of that when we ask questions and post answers here.
Yossi
Mahdi
07-10-2006, 10:21 PM
...for your ironic...
If by this any irritation has been made I'm really sorry.
This must be a lack of "Forum Behaviour Understanding"
Mahdi please be polite in our forum
I thought it was better that our friend told me to search instead of giving me a link and calling the search page a thread. Anyway I don't want to be so touchy and I think here is not a forum for struggling and this type of matter does not the matter of this forum. So let't forget about it and continue to be technical (if not more) friends .
If you want help you must also help yourself. Look at the code, try it, and post your modified code as needed
I am currently using the same thing that was linked for me and trying but have no much technical information but trying to read some ebooks whithin this month.
RizlaUK
07-12-2006, 12:17 PM
I think the thing here is that non english speaking people have a hard time in forums, i see it a lot in the many forums i am a member of and i also see it at work, because words just dont seem to come out right as thay dont know the lingo that well, to us the english speakers it seem to come accross as rude or inpolite and in fact it is not ment that way at all and is just that the person dosent know that saying, for eg "give me cigarette" would come accross a lot better put as, for eg "plz could i have a cigarette" ,well thats just my toughts
Mahdi, i used the resolutionchanger example and it works great for me, simply store the starting res to a txt file, convert the string to a table with string replace ("," to "\r\n") and have the app read the table on exit,
here, i made a lil example for you, hope it helps,
rhosk
07-12-2006, 02:03 PM
[[sigh]]
You should really upgrade to the latest version of AMS !
Latest version - 6.0.3.0
YOUR version - 6.0.0.0
... it's never ending ...
Mahdi
07-12-2006, 06:26 PM
I think the thing here is that non english speaking people have a hard time in forums, i see it a lot in the many forums i am a member of and i also see it at work, because words just dont seem to come out right as thay dont know the lingo that well, to us the english speakers it seem to come accross as rude or inpolite and in fact it is not ment that way at all and is just that the person dosent know that saying, for eg "give me cigarette" would come accross a lot better put as, for eg "plz could i have a cigarette" ,well thats just my toughts
Mahdi, i used the resolutionchanger example and it works great for me, simply store the starting res to a txt file, convert the string to a table with string replace ("," to "\r\n") and have the app read the table on exit,
here, i made a lil example for you, hope it helps,
I accept your thoughts. And thanks for your help . I'm trying it.
Intrigued
07-12-2006, 08:45 PM
It would be a good move to upgrade to the latest project version.
Just click the F9 button inside of AMS 6.
Mahdi
07-18-2006, 06:22 PM
I think the thing here is that non english speaking people have a hard time in forums, i see it a lot in the many forums i am a member of and i also see it at work, because words just dont seem to come out right as thay dont know the lingo that well, to us the english speakers it seem to come accross as rude or inpolite and in fact it is not ment that way at all and is just that the person dosent know that saying, for eg "give me cigarette" would come accross a lot better put as, for eg "plz could i have a cigarette" ,well thats just my toughts
Mahdi, i used the resolutionchanger example and it works great for me, simply store the starting res to a txt file, convert the string to a table with string replace ("," to "\r\n") and have the app read the table on exit,
here, i made a lil example for you, hope it helps,
That was exactly what I wanted. Thank you .
Powered by vBulletin™ Version 4.0.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.