|
-
May 26th, 1999, 09:31 PM
#1
Tooltips and Dialog Bars
how do i enable tooltips for a dialog bar? i have tried calling EnableToolTips(TRUE) just after creation but the TTN_NEEDTEXT handler is never called.
Note i do not want to have to deal with a CToolTipCtrl - i have done this before with dialogs and form view's just using EnableToolTip and TTN_NEEDTEXT handler with no problems, so it must be possible to do the same with a CDialogBar (?)
-
May 27th, 1999, 02:30 PM
#2
Re: Tooltips and Dialog Bars
You don't need to do anything special - just make sure to set the CBRS_TOOLTIPS after you create the dialog bar e.g.
pMyDialogBar->SetBarStyle(pMyDialogBar->GetBarStyle() | CBRS_TOOLTIPS);
Josh
-
May 27th, 1999, 05:55 PM
#3
Re: Tooltips and Dialog Bars
i don't believe it! here i am stuffing around with TTN_NEEDTEXT handlers and the solution is just to modify the window style! its always the case isn't it - you never see the obvious solution till someone else points it out to you.
thanks Josh
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|