|
-
Aug 19th, 2002, 08:45 AM
#1
Thread Starter
Addicted Member
out of curiosity what does the hwnd property stand for?
... 
handle ? window? number? d..
-
Aug 19th, 2002, 08:53 AM
#2
Retired VBF Adm1nistrator
I'd guess handleWindowNumber or something.
But MerrionComputing is an API expert. Ask him, he might have an insight 
I can tell ya what Dim is short for though.
"Dimension". So there
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Aug 19th, 2002, 08:53 AM
#3
PowerPoster
it's just a term for window handle. Maybe it's meant to be like the French do things, e.g Handle of Window
-
Aug 19th, 2002, 08:54 AM
#4
Monday Morning Lunatic
It should be hWnd, of which the 'h' prefix is Hungarian Notation for "handle", and "Wnd" is a window, so, it's the form's window handle for use with the API
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 19th, 2002, 08:59 AM
#5
PowerPoster
Originally posted by parksie
It should be hWnd, of which the 'h' prefix is Hungarian Notation for "handle", and "Wnd" is a window, so, it's the form's window handle for use with the API
hungarian/ french same thing
-
Aug 19th, 2002, 09:00 AM
#6
Retired VBF Adm1nistrator
Originally posted by parksie
It should be hWnd, of which the 'h' prefix is Hungarian Notation for "handle", and "Wnd" is a window, so, it's the form's window handle for use with the API
dunno why i didnt think of that.
oh well
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Aug 19th, 2002, 09:05 AM
#7
Thread Starter
Addicted Member
-
Aug 19th, 2002, 09:11 AM
#8
Frenzied Member
"handle" is pretty much a throwaway term for "A unique number assigned by windows" thus you have hPen, hRgn, hDC etc..
-
Aug 19th, 2002, 09:25 AM
#9
Thread Starter
Addicted Member
Originally posted by MerrionComputin
"handle" is pretty much a throwaway term for "A unique number assigned by windows" thus you have hPen, hRgn, hDC etc..
oh cool that simplifies things, oddly nuff i've never heard much of the other properties
-
Aug 19th, 2002, 03:35 PM
#10
Monday Morning Lunatic
A handle is conceptually an abstracted pointer, i.e. a pointer to a pointer (but might not be a memory location, it could be an index into a pool of some kind).
They're very useful for writing garbage collectors and anything that needs to change the pointer values.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 19th, 2002, 05:03 PM
#11
Fanatic Member
Originally posted by parksie
... is conceptually an abstracted pointer ...
Fancy talk... ooooooohh.
-
Aug 19th, 2002, 05:12 PM
#12
Member
Originally posted by V(ery) Basic
Fancy talk... ooooooohh.
lol wanted more basic talk?
-
Aug 19th, 2002, 05:13 PM
#13
Fanatic Member
Yeah, actually
-
Aug 19th, 2002, 05:18 PM
#14
Frenzied Member
What parksie said - dumbed down - is that handles are addresses in memory. At that address is a pointer to the gizmo you are trying to mess with.
Some handles are offsets (as in array indexes) into a list in memory. The list is made of pointers like above... the fancy term for these lists is a masthead. Windows devices are in a list like this.
That any better?
-
Aug 19th, 2002, 05:22 PM
#15
Fanatic Member
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
|
Click Here to Expand Forum to Full Width
|