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

DPI-Aware WireFrame (RC5- and vbWidgets-based)

$
0
0
Just a little "Base-example" one could build upon, to produce a modern looking and DPI-aware GUI...
(as requested by bPrice and Carlos in this thread here: http://www.vbforums.com/showthread.p...ke-this-in-VB6)



The Demos Main-Form is made up of several "Panels" (hWnd-based Child- cWidgetForms),
which in turn can then host any additional Widgets...
The Hierarchy is:
cfMain (managing the Panels)
... cpLeft (the Panel with the vertical Menu, using ownerdrawing on a cwVList)
... cpTop1 (the Panel at the very top, only hosting an Icon, a Title and the FullScreen-Button so far)
... cpTop2 (a second Top-Panel, currently showing a kind of "permanent Search-Bar")

A cpMain-Panel which would cover the remaining MainForm-area was left out - since in a real App
one would probably define and load several cpMain-Panel-Classes (one for each Entry in the Left-Menu) -
and then change (Load/Unload or Show/Hide) them due to Left-Menu-Selections.

<Ctrl>+<MouseWheel> will change the Zoom-Factor dynamically.

Here's the Demo-Source:
ModernAppWireFrame.zip

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>