Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. CToolTipCtrl: How can i use SetTitle function

CToolTipCtrl: How can i use SetTitle function

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    ugur_basak
    wrote on last edited by
    #1

    I want to use SetTitle function but compiler gives that error "C2065 'SetTitle' : undeclared identifier. How can i use this function.

    U 1 Reply Last reply
    0
    • U ugur_basak

      I want to use SetTitle function but compiler gives that error "C2065 'SetTitle' : undeclared identifier. How can i use this function.

      U Offline
      U Offline
      ugur_basak
      wrote on last edited by
      #2

      I found a solution, but i guess it is not a good solution. I have remove these form stdafx.h #ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later. #define _WIN32_IE 0x0400 // Change this to the appropriate value to target IE 5.0 or later. #endif i dont understand but it seems to work good.

      J 1 Reply Last reply
      0
      • U ugur_basak

        I found a solution, but i guess it is not a good solution. I have remove these form stdafx.h #ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later. #define _WIN32_IE 0x0400 // Change this to the appropriate value to target IE 5.0 or later. #endif i dont understand but it seems to work good.

        J Offline
        J Offline
        Jack Puppy
        wrote on last edited by
        #3

        If you look up the Win32 documentation for TTM_SETTITLE (which is called by SetTitle), it lists the requirements as: Windows 2000, Windows NT 4.0 with Internet Explorer 5, Windows 98, Windows 95 with Internet Explorer 5. Therefore you need to change the _WIN32_IE value so that it will target at least IE 5. #ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later. #define _WIN32_IE 0x0400 // Change this to the appropriate value to target IE 5.0 or later. #endif to #ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later. #define _WIN32_IE **0x0500** // Change this to the appropriate value to target IE 5.0 or later. #endif You can see all the various macros/constants here: Using the Windows Headers

        :suss: Pssst. You see that little light on your monitor? That's actually a government installed spy camera. Smile and wave to big brother!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups