Jump to content

Funso

Member
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Not working for me either, I get a "You seem to have the wrong version of Itunes, you need Itunes 4.5 or better" (or something alopng those lines) error. I actually have itunes 7. Had the same problem with Avetunes 5, too.
  2. Andreas, thanks for the input. I have my code working to some degree, I can load a png into memory and draw it, not problem. But I also want to change the image, that is stretch it like a dock stretches, and I was using GDI+ like so when answering WM_PAINT prompts to get my images altered as I wanted them: case WM_PAINT: HDC hdc = BeginPaint(hWnd, &ps); OnPaint(hdc); //bunch of gdi functions to create desired image, stretch it without scaling EndPaint(hWnd, &ps); now, I understand we don't use WM_PAINT to update image, so how would you draw the image using gdi+ and
  3. Andreas, is there a tutorial where you learnt this stuff? Or did you figure it out alone from the msdn docs? All the good tutorials are for delhpi and sometimes VB, I guess C++ programmers are too busy with games. I have to use UpdateLayeredWindow? I have been using SetLayeredWindowAttributes, that's not enough to be able to use the png's alpha? As I say, I can see through the png fine to items underneath the png inside my window, but cannot see through the png to the desktop below it. I tried something like your code, but I cannot get it to work, though that is most likely my mistake, and
  4. Thanks for the reply. I have used layered windows before, but I found that my png's which featured transparency of some sort didn't work(for example a bar png was semi-transparent, to appear like a glass bar, and while the layered window would remove the part of the window which was not touched at all by the image being drawn, the png itself was completely opaque unless I changed the transparency of the layered window). In other words, the layered window didn;t seem to support the png's transparency, but a general overall transparency set for the layered window. This is the bit I am frustrat
  5. Hi. I am a C++ programmer, have been for a long long time. I have spent the last few years working with direct3d and opengl, and recently I decided to work on an app which is similar to a dock, (not the same functionaltiy, but an app which has no apparent window, who's shape changes upon mouseover) as a challange to myself, and a new direction. However, I am a little lost as to where to start with this. I know GDI+ a little, and the basics of the Windows API. But I am not sure how to get that look the dock requiers (no visible window, just the transparent png files painted as though they are
×
×
  • Create New...