Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Different types of Forms

  • 03-06-2005 4: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