Results 1 to 3 of 3

Thread: szTip = "ToolTipText"

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2001
    Location
    Netherlands
    Posts
    115

    szTip = "ToolTipText"

    I've got this:

    NOTIFYICONDATA m_tray;

    m_tray.szTip = "ToolTipText";

    but if I do execute I get the error:

    Cannot convert char[12] to char[64]

    in VB I do this:

    m_tray.szTip = "ToolTipText" & chr$(0)

    and that works

    so how to get this working?

    VisualPenguin
    ICQ :137108715
    MSN Messenger : [email protected]

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Use strcpy:
    Code:
    strcpy(m_tray.szTip, "ToolTipText");
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2001
    Location
    Netherlands
    Posts
    115
    thanks
    ICQ :137108715
    MSN Messenger : [email protected]

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