Click here to Skip to main content
15,885,868 members
Home / Discussions / C#
   

C#

 
GeneralC# Debug problem in VS7 Pin
Elf6-Oct-02 16:45
Elf6-Oct-02 16:45 
GeneralRe: C# Debug problem in VS7 Pin
Russell Morris7-Oct-02 6:28
Russell Morris7-Oct-02 6:28 
GeneralVideo Streaming Pin
yccheok6-Oct-02 16:13
yccheok6-Oct-02 16:13 
GeneralRe: Video Streaming Pin
Daniel Strigl6-Oct-02 20:12
Daniel Strigl6-Oct-02 20:12 
GeneralRe: Video Streaming Pin
yccheok6-Oct-02 20:16
yccheok6-Oct-02 20:16 
GeneralRe: Video Streaming Pin
Philip Fitzsimons7-Oct-02 3:21
Philip Fitzsimons7-Oct-02 3:21 
GeneralEditing Bitmap File When PictureBox.Image Point To It Pin
yccheok6-Oct-02 15:31
yccheok6-Oct-02 15:31 
Generalproblem on drawing theme background on a bitmap Pin
Li-kai Liu (Angus)6-Oct-02 7:28
Li-kai Liu (Angus)6-Oct-02 7:28 
Hi,

Just wondered if anyone has tried this already?

I'm trying to write a button control that use
APIs in uxtheme.dll to draw its background image.
I also want to have an alpha blend option for the
button. My solution is to draw the theme background
on a temporary bitmap, do the alpha blending, and
then, copy it to the screen.

But here comes a problem. If theme background already
contains some pixels which are semi-transparent, these
pixels are drawn in black color on the target bitmap.
While there isn't any problem if I want the theme
background image to be drawn on the screen (alpha pixels
are rendered correctly on the screen, perfectly drawn on
top of whatever sits there.) Does anyone know the
solution to draw a theme background correctly onto a
bitmap?

ThanksSmile | :)

Li-kai Liu
Questionhow to uninstall a software programatically ? Pin
imran_rafique5-Oct-02 16:49
imran_rafique5-Oct-02 16:49 
Questionhow to? Pin
imran_rafique5-Oct-02 15:11
imran_rafique5-Oct-02 15:11 
GeneralA simple one to answer Pin
Barry Lapthorn5-Oct-02 8:19
protectorBarry Lapthorn5-Oct-02 8:19 
GeneralRe: A simple one to answer Pin
Paul Riley5-Oct-02 10:38
Paul Riley5-Oct-02 10:38 
GeneralRe: A simple one to answer Pin
Barry Lapthorn5-Oct-02 11:10
protectorBarry Lapthorn5-Oct-02 11:10 
GeneralRe: A simple one to answer Pin
Paul Riley5-Oct-02 11:22
Paul Riley5-Oct-02 11:22 
GeneralRe: A simple one to answer Pin
Barry Lapthorn5-Oct-02 12:24
protectorBarry Lapthorn5-Oct-02 12:24 
GeneralRe: A simple one to answer Pin
Paul Riley5-Oct-02 12:30
Paul Riley5-Oct-02 12:30 
GeneralRe: A simple one to answer Pin
Barry Lapthorn5-Oct-02 12:47
protectorBarry Lapthorn5-Oct-02 12:47 
GeneralRe: A simple one to answer Pin
leppie5-Oct-02 13:54
leppie5-Oct-02 13:54 
GeneralRe: A simple one to answer Pin
leppie5-Oct-02 11:28
leppie5-Oct-02 11:28 
GeneralRe: A simple one to answer Pin
Barry Lapthorn5-Oct-02 12:26
protectorBarry Lapthorn5-Oct-02 12:26 
GeneralMicrosoft Installer Pin
Alex Korchemniy5-Oct-02 6:30
Alex Korchemniy5-Oct-02 6:30 
GeneralRe: Microsoft Installer Pin
Alex Korchemniy5-Oct-02 13:28
Alex Korchemniy5-Oct-02 13:28 
GeneralRe: Microsoft Installer Pin
David Stone6-Oct-02 11:53
sitebuilderDavid Stone6-Oct-02 11:53 
QuestionAsynchronous Streams? Pin
ez25-Oct-02 6:19
ez25-Oct-02 6:19 
GeneralNon Rectanglular forms Pin
Nnamdi Onyeyiri5-Oct-02 4:31
Nnamdi Onyeyiri5-Oct-02 4:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.