nakrul schrieb:
> If it is possible to add user interface files as resources
> i would be very interested in how to do it.
There is an VC++(7.1) project attached which demonstrate this possibility.
The only additional thing what you have to know is how to add the uir
file to the resource:
- Resource View
-> right click on the project -> Add -> Add Resource -> Import
-> select UIR-File -> resource type: >>UIRFILETYPE<<
-> select the new added icon (something like IDR_UIRFILETYPE)
rename the ID to the file Name in the Proporties view
(IDR_UIRFILETYPE -> "UIR_TST.UIR" in the example). The filename
should be surrounded by quotation marks.
For additional information read the help to "LoadPanelEx" specially all
things concerning "Embed Project .UIRs".
This works with CVI7.0 and upper. There is one problem in CVI7.0
"LoadMenuBarEx" could not load from the resource.
Babak