HelpTp-Top most

Posts 13 of 3 · Page 1 of 1
Tp-Top most
I need my program at the Top of the Z order...
I tried the Form.TopMost but it dont work with another topmost program
I searched in google i found the 1 function in USER32.DLL / SetWindowLong can do it, but every time when i used this command my program is deadth...

Is anybody know how can i really set my program as the topmost program...


2nd I need:
Can i use directX functions to draw shapes to the screen, without focus on my program (If i click on theese shapes windows wont focus on my program)
Quote Originally Posted by rabir007 View Post
I need my program at the Top of the Z order...
I tried the Form.TopMost but it dont work with another topmost program
I searched in google i found the 1 function in USER32.DLL / SetWindowLong can do it, but every time when i used this command my program is deadth...

Is anybody know how can i really set my program as the topmost program...


2nd I need:
Can i use directX functions to draw shapes to the screen, without focus on my program (If i click on theese shapes windows wont focus on my program)
TO you fisrt need, I dunno exactly how to do it, but google has showed me this => CLICK HERE
To you second need.. use the SetWindowLong and SetLayeredWindowAttributes to make a transparent and Click-through-able (weird word ) window.. this might help you c# - Topmost form, clicking "through" possible? - Stack Overflow
Quote Originally Posted by MarkHC View Post
TO you fisrt need, I dunno exactly how to do it, but google has showed me this => CLICK HERE
To you second need.. use the SetWindowLong and SetLayeredWindowAttributes to make a transparent and Click-through-able (weird word ) window.. this might help you c# - Topmost form, clicking "through" possible? - Stack Overflow
You saved my life
Thank you very much...
Posts 13 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?