在我的自定义对话框中使用 WixUIBannerBmp
在我的安装程序中,我已将 WixUIBannerBmp 设置为指向我自己的自定义 dialog-banner.bmp
。
现在我添加了一个自定义对话框,我希望具有与其他对话框相同的横幅。
有没有办法引用现有的WixUIBannerBmp?
解决方法是创建一个包含图像的二进制文件并引用它。但似乎不应该需要它。
/升
In my installer I have set WixUIBannerBmp to point to my own custom dialog-banner.bmp
.
Now I have added a custom dialog I would like to have the same banner as on the other dialogs.
Is there a way to refer to the existing WixUIBannerBmp?
Workaround would be to create a Binary containing the image and refer to that. But it seems like it shouldn't be needed.
/L
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您只需要在对话框定义中使用它:
当我需要创建自定义对话框时,我只需从 wix 源复制标准对话框之一并根据我的需要进行调整。这些控件都有上面的行,我从来不需要做任何额外的事情来保持我的自定义对话框中的横幅与其余的相同。
I think you just need to use this in your dialog definition:
When I need to create a custom dialog, I just copy one of the standard dialogs from the wix sources and adapt it to my needs. These controls all have the above line, and I've never had to do anything extra to keep the banners in my custom dialogs the same as for the rest.