Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

danginkgo

@danginkgo
About
Posts
42
Topics
12
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How can I display a cursor for the text?
    D danginkgo

    I am displaying some text in a window. I want to have a text cursor when I click the mouse left button. How can I do this?

    danginkgo

    C / C++ / MFC question

  • How can I display 2 cursors on the same window?
    D danginkgo

    I want to have one diferent cursor for the keyboard. It must apear when I click the mouse left button.

    danginkgo

    C / C++ / MFC question

  • How can I get the Alpha Mask within a bitmap file?
    D danginkgo

    OK, thank you for help.

    danginkgo

    C / C++ / MFC question graphics

  • How can I get the Alpha Mask within a bitmap file?
    D danginkgo

    How can I get the value of the alpha channel for every pixel in a bitmap?

    danginkgo

    C / C++ / MFC question graphics

  • How can I use AlphaBlend API to display a transparent background bitmap?
    D danginkgo

    OK, thank you :)

    danginkgo

    C / C++ / MFC question graphics json

  • How can I use AlphaBlend API to display a transparent background bitmap?
    D danginkgo

    OK, thanks :)

    danginkgo

    C / C++ / MFC question graphics json

  • How can I use AlphaBlend API to display a transparent background bitmap?
    D danginkgo

    OK, For example, I want to display the bitmap on a red background. The bitmap image has also a background ( a black pen on a gray background ). I want the bitmap background to be transparent, so the image (black pen)will apear on red background.

    danginkgo

    C / C++ / MFC question graphics json

  • How can I use AlphaBlend API to display a transparent background bitmap?
    D danginkgo

    Ok, How can I draw the bitmap without the background?

    danginkgo

    C / C++ / MFC question graphics json

  • How can I use AlphaBlend API to display a transparent background bitmap?
    D danginkgo

    I tried other values but it did't display the way I need. I want only the background to be complete transparent. The rest of the image must be opaque.

    danginkgo

    C / C++ / MFC question graphics json

  • How can I use AlphaBlend API to display a transparent background bitmap?
    D danginkgo

    No, because the background is white, but there are some other white pixels within the bitmap. I don't want that all the white pixels to be transparent. The alpha channel is defined only for the background pixels.

    danginkgo

    C / C++ / MFC question graphics json

  • How can I use AlphaBlend API to display a transparent background bitmap?
    D danginkgo

    I have a bitmap that has an alpha channel for the background. I tried using AlphaBlend, but the background was't displayed transparent. The background was white. This is the code that I'm using: BLENDFUNCTION blendF; blendF.BlendOp = AC_SRC_OVER; blendF.BlendFlags = 0; blendF.SourceConstantAlpha = 255; blendF.AlphaFormat = AC_SRC_ALPHA; POINT p; p.x=p.y=23; DPtoLP(hdcMem, &p, 1); AlphaBlend(lpdis->hDC, x, y, bm.bmWidth, bm.bmHeight, hdcMem, 0, 0, p.x,p.y, blendF); Am I doing something wrong?

    danginkgo

    C / C++ / MFC question graphics json

  • how can I display a bitmap with an alpha chanel?
    D danginkgo

    I am using GDI. Is alpha blending posible only with GDI+ ? I want to blend only the background. Thank You for the answers.

    danginkgo

    C / C++ / MFC question graphics

  • how can I display a bitmap with an alpha chanel?
    D danginkgo

    This is my BLENDFUNCTION struct: BLENDFUNCTION blendF; blendF.BlendOp = AC_SRC_OVER; blendF.BlendFlags = 0; blendF.SourceConstantAlpha = 255; blendF.AlphaFormat = AC_SRC_ALPHA; The bitmap is 32 bpp with an alpha chanel. When I display the image using AlphaBlend() function the image looks the same as when I displayed it using BitBlt(). I want the background (wich has an alpha chanel) to be transparent. Is it posible using this function?

    danginkgo

    C / C++ / MFC question graphics

  • how can I display a bitmap with an alpha chanel?
    D danginkgo

    I can't figure it out... What shall I use to dispaly the bmp?

    danginkgo

    C / C++ / MFC question graphics

  • how can I display a bitmap with an alpha chanel?
    D danginkgo

    I want to display a bitmap that has an alpha chanel for the background. How can I make the alpha chanel transparent? I tried using AlphaBlend() but it doesn't work. Any suggestions?

    danginkgo

    C / C++ / MFC question graphics

  • Can I use gif images for some toolbar buttons?
    D danginkgo

    OK, thanks, I'll try:)

    danginkgo

    C / C++ / MFC c++ graphics question

  • Can I use gif images for some toolbar buttons?
    D danginkgo

    OK, thanks

    danginkgo

    C / C++ / MFC c++ graphics question

  • Can I use gif images for some toolbar buttons?
    D danginkgo

    Thank you, but I still have a problem. I have the GIFs that I have to load for the buttons. The GIFs have transparent background. I must have transparent background images on my toolbar buttons. I can't obtain transparent background BMPs from those GIFs. I was hopping that I can use the GIFs. So, I can use only BMP and ICO for windows BUTTON class?

    danginkgo

    C / C++ / MFC c++ graphics question

  • Can I use gif images for some toolbar buttons?
    D danginkgo

    I use bitmaps for some toolbar buttons. Ex. In my .rc file I have: FLDWZOOM BITMAP MOVEABLE PURE "fldwzoom.bmp" I my .cpp file I load the bitmaps for the buttons case IDM_ZOOM:hBitmap=LoadBitmap((HINSTANCEhResource, "FLDWZOOM"); break; Can I load gif images instead of bitmaps? If I can, what function must I use?

    danginkgo

    C / C++ / MFC c++ graphics question

  • using transparent GIFs for toolbar buttons
    D danginkgo

    Thanks, I'll try ;)

    danginkgo

    C / C++ / MFC question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups