Announcement

Collapse
No announcement yet.

Showing hints using DDT

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Guest's Avatar
    Guest replied
    Thank you very much Adam. This will certainly help.
    Paulo

    ------------------

    Leave a comment:


  • Guest's Avatar
    Guest replied
    hi paulo,
    lance edmonds posted a example of doing a ddt toolbar with hints(tooltips) in the source code forum sometime ago. here is the url: http://www.powerbasic.com/support/pb...ad.php?t=23151

    you will then need to process the %wm_notify message in the main callback for the dlg:
    <font face="courier new, courier" size="3"><pre>
    local lptooltip as tooltiptext ptr
    static ztext as asciiz*255

    select case cbmsg
    ...
    case %wm_notify
    lptooltip = cblparam
    if @lptooltip.hdr.code = %ttn_needtext then
    loadstring ghinst, @lptooltip.hdr.idfrom, ztext, sizeof(ztext)
    @lptooltip.lpsztext = varptr(ztext)
    end if
    exit function
    ...
    end select
    [/CODE]
    hope this helps
    adam

    ------------------




    [this message has been edited by adam ritchie (edited april 02, 2000).]

    Leave a comment:


  • Guest's Avatar
    Guest started a topic Showing hints using DDT

    Showing hints using DDT

    First of all, I would like to say that I just purchased PBDLL6.0
    and I find the product great. I'm beginning to enjoy it a lot.
    Nice job from PB.

    I would like to know if it is possible to show hints using DDT
    the mouse stops over a control (a button for instance). The
    pbnote example does this using API but I have no idea on doing
    this using DDT.

    Thanks for any suggestion...
Working...
X