... :)
handle ? window? number? d..
Printable View
... :)
handle ? window? number? d..
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 :)
it's just a term for window handle. Maybe it's meant to be like the French do things, e.g Handle of Window
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 :pQuote:
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.Quote:
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 :)
oh well :)
lol I pondered that but didn't really think so, anywaz :) i was wrong.
oh and sowwy for my capatilization :rolleyes:
:D
"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 :)Quote:
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..
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.
Fancy talk... ooooooohh.Quote:
Originally posted by parksie
... is conceptually an abstracted pointer ...
lol wanted more basic talk? ;)Quote:
Originally posted by V(ery) Basic
Fancy talk... ooooooohh.
Yeah, actually :cool:
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? :D
Dont patronise me :eek: :pQuote:
Originally posted by jim mcnamara
That any better? :D