1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add tooltip on BMP file

Discussion in 'MFC' started by answerme, Jul 3, 2009.

  1. answerme

    answerme New Member

    Joined:
    Dec 17, 2007
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    0
    How can i add tooltip in my image file (*.BMP).I meant whenever my mouse cursor comes to the image file ,a tooltip should be displayed.Below

    Code:
    le.Format("DADC\nName:%s latitude: %d",objFlightParam.m_strEntId,fLat,);
    	m_objToolTipCtrl.AddTool(this,le,0,IDB_BITMAP5);
    IDB_BITMAP5 is ID of the bitmap .
    It is showing a debug assertion error.
    Is there any other way
     

Share This Page