Results 1 to 5 of 5

Thread: ref. of the form object ...Possible ?

  1. #1

    Thread Starter
    Fanatic Member vishalmarya's Avatar
    Join Date
    Feb 2001
    Location
    New Delhi , INDIA
    Posts
    858

    Question ref. of the form object ...Possible ?

    Any api function to remove the titlebar of the form window ,
    if i have the hwnd of the form .

    Or there is a possibility of getting reference of the form object in activex dll ( i mean ref. of the form object from which a function of my dll has been called )

    Latter solution would be more better.

    Thanks
    Vishal Marya, MCP .net 3.5
    My Site
    http://www.vstoolsgallery.com/
    http://visualstudiogallery.msdn.micr...b-f87a909b9266





    Please indicate what version of vb you use.
    Please mark your thread resolved using the Thread Tools above.
    -----------------------------------------

  2. #2
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456

    Re: ref. of the form object ...Possible ?

    Originally posted by vishalmarya
    Any api function to remove the titlebar of the form window ,
    if i have the hwnd of the form .
    Thanks
    Set the form's BorderStyle to 0 if you do not want the title bar.

  3. #3

    Thread Starter
    Fanatic Member vishalmarya's Avatar
    Join Date
    Feb 2001
    Location
    New Delhi , INDIA
    Posts
    858

    Re: Re: ref. of the form object ...Possible ?

    Originally posted by techyspecy
    Set the form's BorderStyle to 0 if you do not want the title bar.

    i said i only have the Hwnd of the form , not the form object itself

    form1.borderstyle=0

    i don't have ref to this form1 , only have the Hwnd
    Vishal Marya, MCP .net 3.5
    My Site
    http://www.vstoolsgallery.com/
    http://visualstudiogallery.msdn.micr...b-f87a909b9266





    Please indicate what version of vb you use.
    Please mark your thread resolved using the Thread Tools above.
    -----------------------------------------

  4. #4
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456

    Re: Re: Re: ref. of the form object ...Possible ?

    Originally posted by vishalmarya
    i said i only have the Hwnd of the form , not the form object itself

    form1.borderstyle=0

    i don't have ref to this form1 , only have the Hwnd
    Oh, I am sorry. I will look into it.

  5. #5

    Thread Starter
    Fanatic Member vishalmarya's Avatar
    Join Date
    Feb 2001
    Location
    New Delhi , INDIA
    Posts
    858
    Vishal Marya, MCP .net 3.5
    My Site
    http://www.vstoolsgallery.com/
    http://visualstudiogallery.msdn.micr...b-f87a909b9266





    Please indicate what version of vb you use.
    Please mark your thread resolved using the Thread Tools above.
    -----------------------------------------

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