-------------------------------- |Andreas 'Yup' Schneider's NoBo| -------------------------------- http://www.aysec.com/ Introduction ------------ Maybe you have already seen one of those programmes with a nonrectangular (e.g. round) Window. If not, start AYS-NoBo, first. The biggest problem programming nonrectangular Windows is to get the coordinates for the shape you've chosen for your Window. That's the reason why I made AYS-NoBo. It's a simple Tool, that generates all the Data needed. With AYS-NoBo you can make your Window nonrectangular with only 3 lines of code. If you use it, it would be nice, when you send me a copy of your Programme. The Example ----------- I also included a simple example. It opens a Window, displays a BMP and makes it nonrectangular. When you press the left Mousebutton the example exits. That's all! How to use with C ----------------- Usage is very easy. 1) Calculate the Data with AYS-NoBo (mark the Save-Data-Item in the Menu) 2) #include the saved Data 3) type two more lines: NoBoStart(hwnd); //after you created your Window NoBoStop(hwnd); //before you close your Window That's all!! When you are using an other language than C, you must convert the Data and the Functions. But it should be easy, as the routines are very simple. If you need help with it, write me a mail. How to use with Delphi ---------------------- Thanks must go out to Seth for his help converting the code to Delphi and the Delphi-How-To --- You can reach Seth at danylenk@lin.com.ua : Put TImage on your form. Set TImage.Left = 0 and TImage.Height = 0. Load your bitmap. Set TForm.BorderStyle = bsNone (This is impotant). Call NoBoStart(handle) at OnFormCREATE event and NoBoStop(handle) at OnFormDeactivate. Functions & Co. --------------- (void) NoBoStart( hwnd ) ------------------------ This Function initialises the nonrectangular Window. If you want to see, what it does in detail have a look at the source saved with the Data. 'hwnd' is the handle from the Window you want to become nonrectangular. (void) NoBoStop( hwnd ) ------------------------ This Function frees the resources needed for a nonrectangular Window and makes it rectangular, again. If you want to see, what it does in detail have a look at the source saved with the Data. 'hwnd' is the handle from the Window you made nonrectangular. About the Author ---------------- Well I'm a member of the demogroup Offence and I also investigate some seconds in gameprogramming every year. I started to code on the C-64 and was in several groups like WOT, Shape, NATO, Traitors, Sharks and so on. If you want to know more, feel free to visit my homepage: http://www.aysec.com/ If you want to contact me for any reason (e.g. you are a graphician and you want to work with me) write some words to: Contactinformations are under http://www.aysec.com/ Many thanks go out to freQvibez / Offence for the great Logo. ------------------------------------------------------------- You can visit his Homepage under http://www.freQvibez.com/freQ/ Last Word --------- I hope you like this little release. If you find any Bug or you change something please write me a note. I hope there are no more bugs in, but if so, I'll try to fix them. Just have a look on my homepage from time to time. If you use the routine in a Programm I also hope to get a copy of it. I'll make a link to it then and you'll get more hits, too. CU Andreas 'Yup' Schneider / Offence