List-view item height with and without manifest in Vista
Mon, 3 Mar 2008 06:53:01 -0800
Hello,
Plz Help me..
I have created a listview control with a specified font. I am finding the
item height by the value returnd by the API ListView_GetItemRect(), But it
shows differnt values in XP and Vista.
And I came to know it happens in vista because of common-controll tag in
manifest file. If I ...
|
alpha blending toggle two transparent images
Sun, 2 Mar 2008 10:24:05 -0800 (PST)
Hi ,
I am trying to alpha blend a transparent image on the screen and on a
key event i try to toggle it with a different transparent image on
the
same position..
The first image is drawn fine ,but when i click the key to
toggle ,the
image is distorted i.e first image is there along with second image
sharin ...
|
Alpha blend problem toggling two images
Sun, 2 Mar 2008 07:35:14 -0800 (PST)
Hi ,
I am trying to alpha blend a transparent image on the screen and on a
key event i try to toggle it with a different transparent image on
the
same position..
The first image is drawn fine ,but when i click the key to
toggle ,the
image is distorted i.e first image is there along with second image
sharin ...
|
Alpha blend Problem
Sun, 2 Mar 2008 06:56:00 -0800 (PST)
Hi ,
I am trying to alpha blend a transparent image on the screen and on a
key event i try to toggle it with a different transparent image on the
same position..
The first image is drawn fine ,but when i click the key to toggle ,the
image is distorted i.e first image is there along with second image
sharing ...
|
Specific problem with 32bit (rgba) images and AlphaBlend on different screen resolutions
Sun, 2 Mar 2008 15:24:42 +0100
Hi,
i've got a 32bit bitmap including alpha channel. I pass this to a certain
application. There's a hook for gdi32.BitBlt where i wait for this image to
be drawn by the application and instead i call AlphaBlend (i do
TransperentBlt for 24bit images that have a dedicated background color for
the mask).
...
|
GDI+ text rendering offsets and text magnifying
Fri, 29 Feb 2008 03:45:00 -0800
Hello everyone.
My question is connected with rendering text through GDI+ Graphics::
DrawString(...).
There is a parameter <RectF &layoutRect> in this method. This parameter
specifies where to render the text.
But rendering of text's strings doesn't begin from the top left corner of
this rect and some X ...
|
EnumDisplayDevice does not work from within a service under Vista
Fri, 29 Feb 2008 02:16:01 -0800
Hi all,
I want to count the number of displays devices attached to the pc from
within a service. We need this to be able to check the status of the monitors
that are attached to the display cards. I use the EnumDisplayDevices function
to accomplish this. On XP/W2K this was perfectly possible but on Vista it ...
|
|
|
BMP to JPEG
Fri, 29 Feb 2008 00:26:01 -0800
Hello everyone,
I'm sorry for stupid question, but I'm new with gdi+.
I have bmp files and I want to convert them to jpeg, I know gdi+ can do
that, but msdn documentation confused me a bit. Any help?
Thanks. ...
|
Angle gradient?
Thu, 28 Feb 2008 14:46:39 -0800 (PST)
I wish to draw a circular/angle gradient with GDI+. Unlike a radial
gradient where the color change is a function of the distance from the
center (and there are many examples on how to do this), I wish to
change the color as the angle changes, like Photoshop's angle
gradient. If you aren't familiar with Photo ...
|
16 bit grayscale tiff
Thu, 28 Feb 2008 02:06:01 -0800
I want to process 16 bit grayscale tiff images. My first tests show that
somehow the images are not read correctly. If I just read and save an image
the resulting image on the disk is only 8 bytes in size. It works though if I
load a 8 bit grayscale tiff or a 24 bit color bmp instead.
A code snippet:
<sn ...
|