-
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
-
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)
-
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/
-
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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks