|
| |||
| Bitmap button problem Hi Platform: using VS2005 C# for WM5.0 base PDA I am making one Bitmap button(owner draw). What i have done is i am drawing image on the button in onPaint() using e.drawimage ; I am also taking care that my bit map becomes transparent(all corners) . For the same i am using ImageAttributes attr = new ImageAttributes() attr.SetColorKey(bmp.GetPixel(0,0), bmp.GetPixel(0,0)); In this case all the corners of my bitmap are becoming transparent and showing same color(red color) which is my background color.(Here back ground is my application's main form which is having back color = red) . Till this point every thing is ok . My problem is " if i load an image on the main form " . In that case above bitmap buttons are still showing red color corner ...?? which is correct only in above case, but in this case when an image is loaded on the main form ,Bit map corners should display color of images which is loaded on the form,but it is still showing Red corner (which is the back color of main form.) How can i get rid of this problem .. Please suggest ... Regards Manish Budhia |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IE 'Save Image As' Bitmap - Actual Problem Identified | Greg Steirer | Internet Explorer | 8 | 03-28-2009 02:25 PM |
| Need to display many bitmap files | AAaron123 | Windows XP | 5 | 10-17-2008 12:55 AM |
| I want to be able to create a new bitmap... | Max Rockatanski | Windows Vista | 3 | 01-24-2007 11:15 AM |
| Wallpaper bitmap CPU usage? | Ed Warner | Windows XP | 0 | 01-04-2007 06:30 AM |
| Bitmap SysTrayMenu missing | Bellstar | Windows XP | 2 | 01-04-2007 03:34 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |