Results 1 to 4 of 4

Thread: [VB6] Windowed and Windowless Labels that can be rotated

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Feb 2017
    Posts
    5,667

    [VB6] Windowed and Windowless Labels that can be rotated


  2. #2
    PowerPoster
    Join Date
    Aug 2010
    Location
    Canada
    Posts
    2,891

    Re: [VB6] Windowed Label that can have vertical orientation

    Thanks for sharing Eduardo...2 comments from me:

    1) It would be nice if there was a small test project instead of just the CTL file.
    2) Is your control Unicode? I did a quick test and just got "?" for each Unicode character (even after choosing Arial Unicode MS as the font).

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Feb 2017
    Posts
    5,667

    Re: [VB6] Windowed Label that can have vertical orientation

    Quote Originally Posted by jpbro View Post
    Thanks for sharing Eduardo...2 comments from me:

    1) It would be nice if there was a small test project instead of just the CTL file.
    Ok, updated.

    Quote Originally Posted by jpbro View Post
    2) Is your control Unicode? I did a quick test and just got "?" for each Unicode character (even after choosing Arial Unicode MS as the font).
    No, because it uses a standard VB.Label inside.
    Perhapds replacing it with one Krool's LabelW it could be made Unicode.
    Or directly printing the caption with the DrawTextEx API instead of using a Label.

    Please try again with Arial Unicode MS because I changed something.

  4. #4
    PowerPoster
    Join Date
    Aug 2010
    Location
    Canada
    Posts
    2,891

    Re: [VB6] Windowed Label that can have vertical orientation

    I tried the new version - I had to remove some unused Command1_Click code that was preventing it from compiling/running. Still no luck with Unicode, but if you are using the label in the UC then there's a good chance Krool's LabelW would work for those who need unicode.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width