Results 1 to 2 of 2

Thread: Help: Any way to set hWnd or retrieve hWnd for label control?

  1. #1
    Guest

    Question

    The label control does not have a handle property as a textbox or frame does; however, one must exist for it. Is there any method of forcing a handle "Label.hWnd" or retrieving one?

    Thanks

    - Nick

    - Err, I found my answer: The label is a graphical control, not a window. Since the label is only an internal object to VB no hWnd exists for it.

    [Edited by nbtnad6 on 09-21-2000 at 01:55 PM]

  2. #2
    Guest
    As a work around, you can place your label into a PictureBox and use the PictureBoxes hWnd.

    Or you can simply use the Print method to draw on to the PictureBox, hence you don't need to use a Label.

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