PDA

View Full Version : Window On Top



Johnnyj2j
18th July 2012, 23:55
Is there anyway i can make it so my window stays ontop or i cant exit out of it for x seconds

what im trying to do is make an alarm cloke so i want to like freeze the screen well the music plays so i cant turn it off and the unfreez it after....

ChrisW67
19th July 2012, 05:34
Is there anyway i can make it so my window stays ontop or i cant exit out of it for x seconds
Yes and yes.

What have you tried?

Ali Reza
20th July 2012, 05:38
you can use windows API function setWindowPos()
but you must learn about window handles and some related things.