Thanks for all of your help Megatron.
I have another question in my other post about hiding from the Alt-tab list.
anyway, If a window has a property which means it is registered or it isnt (which determines wether it shows up in the Ctrl-Alt-Del list or not) is there a way of finding out if a window is currently registered or not? (if thats the right way to say it?!?!?!)
Basically, i'm making a hide program, and the list which comes up at the moment contains a whoooooooole load of other hidden windows which i dont want to appear (like OLEChannelWnd and DDE Server Window etc. etc.)
now i figure that the sort of list i wanted the user to see would be about the same as what shows up in the Ctrl-Alt-Del list (the alt-tab list would be better actually) because i just want to show the programs that the user can see. (apart from the ones hidden by my prog obviously).
I've tried checking each window before displaying it with the iswindow() function bu they all seem to be bloody windows!! :)
my theory is that if i can find out wether a window is 'registered' or not, i can cancel out all the ones i dont want the user to see and just display a list containing what is on the alt-tab list.
Is there any way of doing this? Because currently the list is displaying about 40 items and only about 5 of them are actual windows which would show up in the alt-tab list.
Sorry for the essay but i felt i must explain.
Thanks a lot to anyone who has any ideas.
