Announcement

Collapse
No announcement yet.

Click on title bar?

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

  • Click on title bar?

    I'm making a program that has extra buttons on the title bar. How would I go about knowing if someone clicked the drawn picture that represents a button. Here's what I have as a test app:
    http://www.nofeeinc.net/images/ss.gif

    The "i" button is a loaded bitmap. Like I stated before I would like to know how to know when that area is clicked so I can do the certain function.

    -------------
    Thank you,
    Ryan M. Cross
    Head Webmaster Nofee Inc. Internet Services
    President Likuid Creations Ltd.



    [This message has been edited by RyanCross (edited May 20, 2000).]
    Thank you,
    Ryan M. Cross

  • #2
    Intercept the %WM_NCHITTEST message... see WIN32.HLP for more info on this message.


    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment


    • #3
      Never mind guys...I figured it out! Sorry about this post.

      ------------------
      Thank you,
      Ryan M. Cross
      Head Webmaster Nofee Inc. Internet Services
      President Likuid Creations Ltd.

      Thank you,
      Ryan M. Cross

      Comment

      Working...
      X