Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Setting ToolTips
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Setting ToolTips

 Post Reply Post Reply
Author
Message
adico View Drop Down
Groupie
Groupie
Avatar

Joined: 20 April 2006
Location: United States
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote adico Quote  Post ReplyReply Direct Link To This Post Topic: Setting ToolTips
    Posted: 18 September 2006 at 6:13pm

Hi,


I am dynamically creating 5 CXTPReportControl columns. For each column, I want to set a different tooltip box, for when the user hovers over the header column. Anyone have any ideas on how to do that? An example maybe.

Thanks in advance,

adico

I am not my memories...I am my dreams!
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 19 September 2006 at 2:29am
Hello,
 
Did you try CXTPReportColumn::SetTooltip ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
adico View Drop Down
Groupie
Groupie
Avatar

Joined: 20 April 2006
Location: United States
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote adico Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2006 at 11:27pm
I don't quite get it.

Here is how I am creating the columns (which I want to set tooltips to):

CXTPReportColumn* pColumn1 = m_wndReport.AddColum(new CXTPReportColumn(0, LoadResourceString(IDS_COLUMN1), 100);

CXTPReportColumn* pColumn2 = m_wndReport.AddColum(new CXTPReportColumn(1, LoadResourceString(IDS_COLUMN2), 100);

CXTPReportColumn* pColumn3 = m_wndReport.AddColum(new CXTPReportColumn(2, LoadResourceString(IDS_COLUMN3), 100);

CXTPReportColumn* pColumn4 = m_wndReport.AddColum(new CXTPReportColumn(3, LoadResourceString(IDS_COLUMN4), 100);

Now, I want to set the tooltip for each column. For instance, when the user hovers the mouse over column1, I want to show "Column 1" and so forth....

Thanx in advance
adico

I am not my memories...I am my dreams!
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 25 September 2006 at 12:52am
Hi,
May be you have quite old version, but in 10.x you can just call
 
pColumn1->SetTooltip("Tip");
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
adico View Drop Down
Groupie
Groupie
Avatar

Joined: 20 April 2006
Location: United States
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote adico Quote  Post ReplyReply Direct Link To This Post Posted: 25 September 2006 at 9:44am
I am currently using Xtreme Toolkit Pro v9.70.
How can I set tooltips using this version?
I am not my memories...I am my dreams!
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 25 September 2006 at 2:10pm
Hello,
There was no method in 9.70.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.