V
Vaibhaw Pratap Singh
Guest
I am opening image using windows image viewer by calling create Process.
CreateProcess(NULL, // Name of program to execute
CT2W(cmdStr), // Command line
NULL, // Process handle not inheritable
NULL, // Thread handle not inheritable
FALSE, // Set handle inheritance to FALSE
0, // No creation flags
NULL, // Use parent's environment block
NULL, // Use parent's starting directory
&si, // Pointer to STARTUPINFO structure
&pi);
where cmdStr = L"rundll32 \"C:\\Program Files\\Windows Photo Viewer\\PhotoViewer.dll\" ImageView_Fullscreen D:\\image\\B.png";
Now if i am updating the B.png with different image(here the different image name will be B.png) in image folder it is not getting updated in windows photo viewer.
I have the window handle of this windows photo viewer, by which I want to refresh it. Any suggestion...
Continue reading...
CreateProcess(NULL, // Name of program to execute
CT2W(cmdStr), // Command line
NULL, // Process handle not inheritable
NULL, // Thread handle not inheritable
FALSE, // Set handle inheritance to FALSE
0, // No creation flags
NULL, // Use parent's environment block
NULL, // Use parent's starting directory
&si, // Pointer to STARTUPINFO structure
&pi);
where cmdStr = L"rundll32 \"C:\\Program Files\\Windows Photo Viewer\\PhotoViewer.dll\" ImageView_Fullscreen D:\\image\\B.png";
Now if i am updating the B.png with different image(here the different image name will be B.png) in image folder it is not getting updated in windows photo viewer.
I have the window handle of this windows photo viewer, by which I want to refresh it. Any suggestion...
Continue reading...