But now I realized that $a>=32 is not the best condition. What if the window is not on top? What if somebody opens another window infront of the 'protected' window? Would there be controls on the top window that get blocked? That's why I've put the If. Tell me if you like it, and if you find it useful. Of course some programs has the Files->Exit menu, but this is easily made by putting the transparent box on 'Files' and, on click, it sets the state of the second gui to show. I thought it's something useful for some, and that's why I've decided to post it. Maybe some of you (who are parents), are afraid to let the computer alone to go to the toilet, because their kids will close their all so important work (at least, that's what I'm doing to my father ) I've done it with the help of ChrisL's transparent control function. Here's my script! It has no tray icon, no taskbar box, there's nothing visible on the screen and it only prevents the specified window from beeing closed. Move the mouse to the top LEFT corner of the screen to quit. VBProject - Making Program unclosable - Duration: 4:23. ![]() VB Express Program - Un-closable program 2012. Update: NO BUGS now, it only blocks the specified window. ![]() How To Make An Unclosable Program Average ratng: 7,1/10 7902votes
0 Comments
Leave a Reply. |