|
-
Jul 23rd, 2023, 09:17 AM
#1
VB6 + RC6 Auto-generated Widget-Forms via direct PSD-FileParsing
As the title says, the demo shows, how a fully transparent Widget-Form can be generated,
directly from a PhotoShop *.psd-File... by auto-creating clickable Widget-instances for each Layer in the PSD.
This Demo has the following pre-requisites:
- the newest RC6-version 6.0.15 has to be downloaded from vbRichClient.com (the RC6BaseDlls.zip)
- after that the RC6.dll as well as the RC6Widgets.dll have to be registered (via the little Scripts in the BaseDlls-Folder)
- before running the Demo, an about 4MB large *.psd File has to be downloaded from the following link:
.. https://vbrichclient.com/Downloads/tank-clock-mk1.psd
and then placed in the \Res\ Subfolder of the unzipped Demo-Project
The Demo-Project itself is quite small, and downloadable here:
PSDWidgets.zip
After everything is correctly set up, the demo should produce the following:

- the App-Window is movable when clicking on the "outer, dark-grey frame" of the render-output,
- any PSD-Layer of the Widget-Form is "hoverable" in different Colors (the smaller red-hours-circle is an example)
- ToolTips for each of the Widget-converted Layers are shown
- there is an (optional) little close-button to be able to close the App via Mouse (coming from a separate resource-image)
- in IDE-Mode the App-Window will get a TaskBar-entry (not so, when running compiled)
- the App-Window is zoomable (via Touchpad- or OnScreen-two-finger-gesture, or via the matching Mouse Std-Op: <Ctrl>+MouseWheel)
Have fun with it,
Olaf
Last edited by Schmidt; Aug 17th, 2023 at 09:57 AM.
Reason: small update, to enable regfree-mode also for the cwAlphaImg from RC6Widgets.dll
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|