Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Different types of Forms

  • 03-06-2005 05:42PM
    #1
    Closed Accounts Posts: 6


    Hi,

    Does anyone know how to make programs that have forms with "round" edges?
    I'm using VB. NET...

    Ex., Sonique, Windows MP, iTunes...
    :confused:


Comments

  • Registered Users, Registered Users 2 Posts: 15,443 ✭✭✭✭bonkey


    I'm pretty sure MS cover that in either the VB.Net documentation, or on MSDN, complete with example. A quick search and you should find it there.


  • Closed Accounts Posts: 6 BenDover


    Ok, I'll try that...

    Thanks :)


  • Registered Users, Registered Users 2 Posts: 640 ✭✭✭Kernel32


    I was at a MSDN presentation a while back and they gave an example of how to do it. I can't remember if it was using Vs.Net 2005 though. Anyway, the idea was you create an image , jpg, bmp etc. The image acts as the background of the form. On the image you use a color that you would want to be transparent. On your form you set the background image and a property that was the color to make transparent, I forget the actual property names. Hey presto you had a fancy looking form. It also showed example of how to set it at runtime, even by drag and drop of a new image.


  • Closed Accounts Posts: 9,314 ✭✭✭Talliesin


    Set the Region property to an appropriate region.

    SetWindowRgn is the GDI (non .NET) way of doing it.


  • Closed Accounts Posts: 6 BenDover


    thanks to kernel32


  • Advertisement
Advertisement