Mapping modes during metafile playback - need documentation!
Fri, 19 Mar 2010 06:02:47 -0700 (PDT)
When I am playing back an enhanced metafile using EnumEnhMetaFile(),
it appears that the coordinate system functions (GetWindowOrg,
GetViewportExt, etc.) all return invalid values. For example, if the
metafile says
SetMapMode(MM_ISOTROPIC)
SetViewportOrg(50, 50)
and inside my EnhMetaFileProc (which is simply ...
|
System error during printing
Thu, 18 Mar 2010 09:04:03 -0700
Hello NG,
I have a question. Our printer (HP Business Inkjet 1200) get an system error
(without an error code!), when the Win-API-function EndPage is called. The
return value of the Function EndPage is 1. (=OK). I have the current firmware
and driver. My OS is XP SP3. Code example for this error:
DEVM ...
|
GetWorldTransform() screwy when DC mode is GM_COMPATIBLE
Wed, 17 Mar 2010 10:42:36 -0700 (PDT)
I am trying to debug a third-party library that is parsing an enhanced
metafile (EMF) and processing the commands listed therein. On XP
everything is fine, but I'm seeing some strange behavior when running
the exact same code on Windows Server 2003 and 2008.
The EMF starts by setting the mapping mode to MM_IS ...
|
Uniscribe...
Sun, 7 Mar 2010 18:32:01 -0800
I'd like to stop using GetCharacterPlacement and use the uniscribe
equivalents. I've read all the help in SimpleScript but see what I am
looking for.
Specifically, I want to get the x, y extents of a unicoded string AND I want
to be able to do that with and without kerning. How do I do it?
Thanks,
Ton ...
|
Clipping problem with DrawThemeTextEx
Fri, 05 Mar 2010 08:07:58 -0800
Hi
I am trying to use DrawThemeTextEx with DTT_COMPOSITED to draw onto a
32-bit bitmap. It works great, except that it ignores the clipping
region (set with IntersectClipRect). If I remove the DTT_COMPOSITED the
clipping works, but of course the alpha channel gets messed up.
Any idea how to get the DTT_C ...
|
Set mouse pointer scheme on Vista
Wed, 3 Mar 2010 10:11:01 -0800
Is there a programmatic way to change the default mouse scheme (Control
Panel\Mouse\Pointers\Scheme) for all users on a Vista machine. I need to set
the mouse scheme to "None" so the assistive software we use does not have
trouble. I looked at SystemParamtersInfo and SPI_SETCURSORS, but I don;t
think that w ...
|
æ€æ¯’软件å…费下载 9833
Tue, 2 Mar 2010 02:58:01 -0800
许å¤?æ?§è?½é?®é¢?å??æ?¨ç??计ç®?æ?ºå®?å?¨é? æ? æ¶æ?ç??æ¯?ï¼?æ??好ç??å??æ³?对ä»?ï¼?è¿?æ?¯è¦å®?è£? é?²ç??æ¯?确认å??æ?¨ç??计ç®?æ?ºä¸?æ?´æ?°
æ?æ¯?软件å?è´¹ä¸?è½½ï¼?
http://antivirusfreecn.blogspot.com/
é?¾æ?¥ç½?ç«?ç??å??容ï¼?
http://antivirusfreecn.blogspot.com/
http://antivirusfreecn.blogspot.co ...
|
|
|
Slow text IO on 32 bit Windows 7
Mon, 1 Mar 2010 17:28:16 -0500
We have a customer reporting that our product draws text slowly on Windows
7. Upon further investigation, it appears as if 32 bit Windows 7 itself
draws text slowly. I wrote a test program that uses printf to write a
sentence to stdio 5000 times and it seems to run 2 to 9 times slower on 32
bit Windows 7 t ...
|
geting HBITMAP from a HDC
Thu, 25 Feb 2010 21:44:59 -0800 (PST)
hi
how do I get the HBITMAP underlying a HDC?
This is what I want to do:
1. Get HBITMAP from HDC
2. Get the underlying bits from HBITMAP
3. Modify the bits
I want to do this in the WM_PAINT handler.
Regards
Mihir ...
|
GDI+ Bitmap bits manipulation
Fri, 26 Feb 2010 02:19:08 +0100
I need to write some C style code to manipulate directly the contents of a
GDI+ bitmap. What I need is:
1. Create memory bitmap.
2. Have C style code to manipulate the byte array of the bitmap.
3. Use GDI+ to draw the bitmap on the screen (window).
4. Repeat step 2 and 3.
I looked at LockBits(), and it se ...
|