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

Windows Logo Glyph

$
0
0
Not sure why you'd ever need it, but I stumbled across this:

Name:  sshot.png
Views: 91
Size:  571 Bytes

Code:

Option Explicit

Private Sub Form_Load()
    With Label1
        .BackColor = vbHighlightText
        .ForeColor = vbHighlight
        .Caption = "W"
        With .Font
            .Name = "Marlett"
            .Size = 20
        End With
    End With
End Sub

That gets you a character "icon" of the Windows Logo. I would expect the appearance to vary somewhat on different Windows versions, and I'm not sure when this glyph was added to Marlett.
Attached Images
 

Viewing all articles
Browse latest Browse all 1469

Trending Articles



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