>>>Hi,
>>>Sorry if my message was not clear, I will try to explain.
>>>When I implent/start the class with an other resolution than mine e.g. 800x600 the only thing what happens is the message wait window with "Resolution is OK" I presume it is trying to inform me I selected an available resolution suitable for my pc and not something like 550x1200. It does not change the resolution to the values according to the parameters.
>>>Trust now clear to you.
>>>Thanks anyway
>>>Regards,
>>>Koen
>>
>>Actually my code there didn't have such an error text at all. Looking at the link, I see that you are not using my code but Vedat Aral's code. Please try the code I have written (sample setting to 800*600).
>
>Cetin,
>I used the code from the link you had provided.
>Meanwhile there is no problem anymore as Ian gave me a fully correct answer to the problem: on the shortcut for VFP.exe you set the checkbox on comptability for GDI scale and all is done as requested.
>Regards and thanks,
>Koen
How would setting it let you change display settings programmatically :) anyway if it works.