Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Interface and Graphics > Adding Photoshop Image


Reply
 
Thread Tools Display Modes
  #1  
Old 03-05-2003, 05:58 AM
FaTaLy2k FaTaLy2k is offline
Centurion
 
Join Date: Jan 2003
Posts: 126
Default Adding Photoshop Image


I an image i edited in photoshop. I want this to be my main forms interface. The image is square but the picture itself is square with rounded edges. How do i get my form to round it's edges to match the images edges?
Reply With Quote
  #2  
Old 03-05-2003, 06:35 AM
Machaira's Avatar
Machaira Machaira is offline
Jedi Coder

* Expert *
 
Join Date: Aug 2002
Location: Abingdon, MD
Posts: 3,438
Default

Reply With Quote
  #3  
Old 03-05-2003, 06:35 AM
Volte's Avatar
Volte Volte is offline
Ultimate Contributor

Retired Leader
* Guru *
 
Join Date: Aug 2001
Posts: 5,343
Default

Try this:
http://www.xtremevbtalk.com/t14911.html

It's not *exactly* what you need, but it should show you how to use GetDIBits
and SetWindowRgn to make a non rectangular form.

Edit: Heh, didn't realize that Hand's example had a bitmap shaping example in it.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PUblic array With images NeverMore5 Game Programming 3 02-07-2003 01:59 PM
Adding an image to a button? MonkeyBrain General 2 11-14-2002 07:05 PM
Image mapping jaydave6 Interface and Graphics 5 10-03-2002 08:19 PM
Image Archive usetheforce2 Tech Discussions 4 03-31-2002 01:58 AM
adding image to .exe file johnjr General 8 05-30-2001 03:43 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->