Weird UI crash in printer driver - windows

The below image shown is the image of a printer driver. It works fine initially but clicking so buttons or using the driver for so long the UI of this driver crashes and UI becomes scattered. Please help me to find what might is the reason for this?
Image of the UI initially.
enter image description here
Image of the UI after crash
enter image description here
enter image description here
I suspect this is memory corruption error and idk how to get started with this error?
Can you give some hints to get started with this?
Driver is developed in C++.

Related

Get an image from the screen (not whole screen) using Windows API

I can take a screenshot of all the screen or for an application using windows API, as detailed here and here.
However, my question is how can I take a screenshot of an image in the screen, for example only the image of the orange in this screen:
I found this artical, and tried to get the handle of this image but without success.
Edit: I need it not only for web pages, so Selenium and others are not an option.

Browser's not displaying images correctly

Long story short, all images in browser are displayed wierd.
Here is the comparison between browser and window's image viewer on the same image (downloaded) :http://imgur.com/89XYxkj
This problem started on chrome, so I installed opera because the problem was persistent and found no answer to my question. Now after a while the problem started to appear on opera too. I'm baffled why this suddenly happened and why is persistent even after windows restart...
I have no idea why this would happen, so maybe you can help me.
Chrome on my machine started doing this around the same time. After some digging around and trial and error I think it's having issues with some monitor colour profiles.
I did manage to get a workaround in the end by changing the colour profile of the monitor to sRGB IEC61966-2.1. In Windows 8.1:
Control Panel > Color Management then select your monitor.
Make sure Use my settings for this device is checked.
Add the sRGB IEC61966-2.1 profile and set it to default
Restart Chrome and you should be able to see the proper amount of colours again.

I have a background image that is loading only partially

I have a background image that loads mostly, but half of the time there is a pice missing from the image and you have to refresh the page to get the entire image to show. Could the image I'm using be corrupt or broken? Or could the problem be somewhere else. I am using a mac and google chrome.
here is the link: http://wlsnook.staging.wpengine.com/

wp7 image control not able to load image from url (AG_E_NETWORK_ERROR)

I am facing very strange problem with wp7 image control, it can load a png image from a url but unable to load a jpg image from same url.
This works
<Image Source ="http://admin.surveyanalytics.com/userimages/sub-2/1517491/180_60_logo.png"/>
But this doesn't work
<Image Source ="http://admin.surveyanalytics.com/userimages/sub-2/1517491/forumlogo.jpg"/>
I can see both image in browser.
In the second code ImageFailed event is fired with "AG_E_NETWORK_ERROR" error
Same is the case with windows-8 phone.
can anyone suggest me what is the problem. Your support will be appreciated, thank you.
You could be facing the same problem (with solution) here: AG_E_NETWORK_ERROR in SIlverlight
Also check out the solution reported in Silverlight and the AG_E_NETWORK_ERROR - a thrilling story!

Dashcode question - OnClick image to fullscreen?

I have a web app I'm building in Dashcode, currently every thing is working as advertised. I'm using the browser template and was able to modify it a bit, got the xml working to connect images and their description. Now I want to add a simple OnClick event that sends the image to fullscreen but I can't find any documentation for that. I'm pretty sure this is easily done so I'm missing something here? Any help greatly appreciated.
Tom
Taking over the screen is a bit complicated (if your talking about a full screen experience like youtube), but full screen in the browser window is defiantly possible. The simplest method is to have the click event open a link to the image location. This would load the image in full resolution in the browser window. A more elegant approach would be to load the image url into the source of a image dashcode object. and have that objects visibility only appear overs the whole web app when the Oncick event occurs. If you are talking about a built in function in dashcode to achieve a full screen/browser image, your out of luck.

Resources