What is hWnd

BlitzPlus Forums/BlitzPlus Programming/What is hWnd

CASO(Posted 2006) [#1]
I am pretty experienced but I have absolutely no idea what hWnd is. Please Help.


Amanda Dearheart(Posted 2006) [#2]
If your using Windows, its the API call for a window.
It stands for (h) handle (Wnd) Window.
Its the standard call all other commands use to gain access to a window.


WolRon(Posted 2006) [#3]
Microsoft likes to prefix their variables with the lowercase letter h to represent a 'handle' to that object.

For instance, an hDC is a handle to a device context.

If you've done any programming using the Windows API, you will encounter many such syntactical conventions.

You can reference any given window through its hWnd handle.

Here's a link to a previous post about communicating with external windows.
http://www.blitzbasic.com/Community/posts.php?topic=32315


CASO(Posted 2006) [#4]
Thank You Both so much.

Does that mean to some extent my program can control other windows?


WolRon(Posted 2006) [#5]
If you use the Windows API, yes, to some extent.


CASO(Posted 2006) [#6]
How do you get the API ?


WolRon(Posted 2006) [#7]
You have to use userlibs. Do a search on this site for userlibs and .decl files.


CASO(Posted 2006) [#8]
Could You Possibly help me with my problem? It's in the bug reports.