Results 1 to 6 of 6

Thread: Creating something similiar to tooltip[RESOLVED]

Threaded View

  1. #1

    Thread Starter
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Creating something similiar to tooltip[RESOLVED]

    I want to display a balloon window when a user neglects to enter data in a required field (textbox).

    Since we will have about 10-15 of our custom textboxes on a form, i really want to have a manager of sorts similiar to the ToolTip component, where only one balloon will pop up at any time. Each form will have an instance (and only one instance) of the component manager.

    What I envision is the textbox raising a public event of its own, declaring its not valid. The component manager will consume the event, and display a balloon window next to the control on that control's parent form whenever that declared itself invalid.

    I imagine this should be similiar to how ToolTip component works.


    Any suggestions on how to consume the events. The component manager doesn't need a visual interface, as tooltip doesn't.

    But it does need to repaint the windows in the event the user resizes the form, so I need to be able to somehow hook into the Form's onpaint and resize message.s
    Last edited by nemaroller; Oct 20th, 2003 at 12:17 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width