Finding an hWnd???


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Finding an hWnd???

  1. #1
    Mark Manderson Guest

    Finding an hWnd???


    I hope this will be an easy one for somebody. I am learning to use DirectX
    in VB.Net (as I have found the ablilty to import the DxVBLib. My problem
    is that I need to assign the hWnd for the Form and cant find a solution.
    In VB6 there was "me.hwnd" but no such luck in VB.Net

    Any Ideas??

    Mark

  2. #2
    Mark Manderson Guest

    Re: Finding an hWnd???


    "Mark Manderson" <mark-m@xtra.co.nz> wrote:
    >
    >I hope this will be an easy one for somebody. I am learning to use DirectX
    >in VB.Net (as I have found the ablilty to import the DxVBLib. My problem
    >is that I need to assign the hWnd for the Form and cant find a solution.
    >In VB6 there was "me.hwnd" but no such luck in VB.Net
    >
    >Any Ideas??
    >
    >Mark



    I Found it after some searching - (it was there all along) I will never rely
    on the Beta2 version of 'Auto Complete' again. It is Form1.Handle.ToInt32
    for anyone (like me) who cant find it. It is valid although it isn't in
    the list of Auto Complete properties for controls (in Beta2 anyway)

  3. #3
    Mattias Sjögren Guest

    Re: Finding an hWnd???

    Mark,

    >It is valid although it isn't in
    >the list of Auto Complete properties for controls (in Beta2 anyway)


    It's probably just hidden. Try going to Tools | Options... | Text
    Editor | All Languages and uncheck the Hide advanced members checkbox.


    Mattias

    ===
    Mattias Sjögren (VB MVP)
    mattias @ mvps.org
    http://www.msjogren.net/dotnet/

  4. #4
    Mark Manderson Guest

    Re: Finding an hWnd???


    Mattias Sjögren <mattias.dont.want.spam@mvps.org> wrote:
    >Mark,
    >
    >>It is valid although it isn't in
    >>the list of Auto Complete properties for controls (in Beta2 anyway)

    >
    >It's probably just hidden. Try going to Tools | Options... | Text
    >Editor | All Languages and uncheck the Hide advanced members checkbox.
    >
    >
    >Mattias
    >
    >===
    >Mattias Sjögren (VB MVP)
    >mattias @ mvps.org
    >http://www.msjogren.net/dotnet/


    Thanks Mattias,

    I have now unchecked the box and all members are there. I had not seen that
    option in the tools menu...Suppose thats what happens when trying to work
    something out at 3:30am, eh...BTW Nice dotNet site. I like the 'Dynamic
    PInvoke...' sample.

    Thanks again,
    Mark


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center