Quantcast
Channel: VBForums - CodeBank - Visual Basic 6 and earlier
Viewing all articles
Browse latest Browse all 1448

VB6 + RC6 Auto-generated Widget-Forms via direct PSD-FileParsing

$
0
0
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 RC6BaseWidgets.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
Attached Files

Viewing all articles
Browse latest Browse all 1448

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>