Home » Community » U++ community news and announcements » ide: automatic win32 rc files (with icon and/or manifest)
ide: automatic win32 rc files (with icon and/or manifest) [message #61227] |
Fri, 13 December 2024 11:54 |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
Ide now creates windows rc file during build process if:
- there is manifest.xml file in any package (manifest.xml in the main package has priority, otherwise if there are more it is choosen randmly - in reality there will be just the default manifest.xml in CtrlCore)
- there is icon.ico (result of "export" iml option) in the main package folder
- there is no .rc file in the main package
- GUI flag is active
- we are in windows... (no rc files in posix obviously)
The net result is that all you need to do to have app icon is to have one icon in .iml with export flag, all you need to do for windows manifest is to add manifest.xml to the main package (and there will still be manifest if you do not do that). On possible caveat: adding explicit .rc file to main package deactivates manifest in CtrlCore. Which right now just means that dialog icons in Windows 11 will have "old" look (because we need manifest to active correct comctl32.dll with LoadIconWithScaleDown function to load new nicer icons).
|
|
|
Goto Forum:
Current Time: Fri Apr 25 17:51:09 CEST 2025
Total time taken to generate the page: 0.00947 seconds
|