OS应用程序如何 - “Window Photo Viewer”实现预览或打开两个图像 [英] How does the OS application -"Window Photo Viewer" realize preview or open two images

查看:133
本文介绍了OS应用程序如何 - “Window Photo Viewer”实现预览或打开两个图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

感谢您浏览我的问题。请帮助我!我非常担心这个问题。
     在我们的计划中,我们需要 启动Windows系统应用程序 - "Window Photo Viewer"预览图像。
    我只知道ShellExecute(),参数是"rundll32.exe C:\ WINDOWS \ system32 \ shimgvw.dll,ImageView_Fullscreen +文件路径"。 它 可以启动"Window Photo Viewer"并只预览一个图像。但是,如果我想预览两个或三个图像,我尝试添加多个文件路径,我失败了。
 我的问题(1)我想知道命令行的格式,例如将两个或三个图像拖到打开的"windos照片查看器"中。鸭。如果我知道命令行的格式,它可以很容易地实现。但是 这个"windows photo viewer"没有exe文件,所以我没有方法得到命令行
(2)如果不能得到它的命令行和top方法请告诉我你的有效方法。

非常感谢!!!!

解决方案

http://blogs.windows.com/windows/archive/b/ developers / archive / 2009/05/18 / windows-7-managed-code-apis.aspx


http://stackoverflow.com/questions/6190271/how-to-run-photoviewer-dll-in-command-line


它看起来像一个shell扩展dll


Thank you for browsing my question. Plese help me! I am very anxious for this question.
      In our program, we need  start up the windows system application-"Window Photo Viewer" to preview images.
     I only know that ShellExecute() ,the parameter is "rundll32.exe C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen +file path".  It  can start up "Window Photo Viewer" and preview only one image. but if I want to preview two or three images,I try to adding more than one file path back,I am fail.
  my question (1) I want to know the format of comand line,such as drag two or three images to an opened "windos photo viewer" Ap. if I know the format of comand line ,it can realize easily .but  this "windows photo viewer" have not exe files ,so I have not method to get comand line
 (2) if can not get it comand line and The method of top.plese tell me your
effective method.

Thank you very much!!!!

解决方案

http://blogs.windows.com/windows/archive/b/developers/archive/2009/05/18/windows-7-managed-code-apis.aspx

http://stackoverflow.com/questions/6190271/how-to-run-photoviewer-dll-in-command-line

It looks like a shell extension dll


这篇关于OS应用程序如何 - “Window Photo Viewer”实现预览或打开两个图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆