Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - HOWTO: Tooltip for CXTPReportRecordItemControl
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HOWTO: Tooltip for CXTPReportRecordItemControl

 Post Reply Post Reply
Author
Message
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: HOWTO: Tooltip for CXTPReportRecordItemControl
    Posted: 15 July 2011 at 6:48am
Hi;

I created a custom button using CXTPReportRecordItemControl. Now I want to apply a tooltip to this button but can't find out how to solve this.
I create the control with this sequence:
            CXTPReportRecordItemControl* pButton = Item->GetItemControls()->AddControl(xtpItemControlTypeButton);
            if(pButton) {
                pButton->SetAlignment(xtpItemControlRight);
                pButton->SetIconIndex(PBS_NORMAL, TemplateRemoveTagIcon);
                pButton->SetIconIndex(PBS_PRESSED, TemplateRemoveTagIcon);
                pButton->SetSize(CSize(22, 0));
            }


In an first attempt I tried to use the inplace expand button, but this is neither shown nor pressable when the item is not editable.
I want the record item to only display some text that can be cleared ONLY by pressing the button.

Any help is very welcome.
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 12 August 2011 at 4:18am
Hi;

Really no one every hit the same requirement?
Andre, do you have any ideas how to solve this, or will this 'feature' be available in 15.1.3?
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2011 at 2:28am
I really need this!
Please help me if you can...
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
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.125 seconds.