I often use the IsWindow function to determine that the window handle is valid.
('IsWindow(hwnd) instead of 'hwnd!=NULL' )

Is this *much* slower than 'hwnd!=NULL' ?

If there's little difference in performance, I'd like to use 'IsWindow(hwnd)'. :)
But not, I have to switch to 'hwnd!=NULL'. :(

Please give me helps.
Thank you for reading. :)
Have a good day. :)
Posted on 2005-08-12 02:21:54 by nyam
Hey nyam,
sure the API call is much slower than the variable check. I only used that API once, for checking
a window that was created by some other process ... if your process opens a window, it
should just check a variable. That way it is faster, smaller and less relative to the operating system.
Posted on 2005-08-12 03:42:35 by Dom