HBITMAP question
Wed, 23 Jan 2008 08:11:05 -0800 (PST)
Hi friends,
I am passing an HBITMAP to a function (it is not relevant now why i am
doing that in this way, ok :)
in this function i use the following code:
void foo(HBITMAP hBmp)
{
BITMAP bmp;
::GetObject(hBmp, sizeof(BITMAP), &bmp);
.
.
// doing image processing on the pixels that start at bmp.bmBits, ...
|
Scaling Text Problem
Tue, 22 Jan 2008 14:09:32 -0600
I posted this question just before the holidays, I'm hoping the reason I didn't get any replies was because everyone was on vacation. Just in case, I am also cross-posting to the larger language group to get some additional eyeballs.
I am attempting to asymetrically (MM_ANISOTROPIC) scale a drawing to a window o ...
|
Forever
Sun, 20 Jan 2008 12:50:57 -0800
...
|
Adding Forms to Printer
Sun, 20 Jan 2008 01:26:01 -0800
We have a custom printer form "form_obs" which we created and are using on
dot matrix printer using with win32 api "Addform". But when we add this form
to non dot matrix printers, like inkjet printer or laser printer, that
printer's driver becomes unusable. We have to install that printer's driver
again.
1 ...
|
GDI+ Drawline resets ViewportOrg
Thu, 17 Jan 2008 15:51:01 -0800
I have a mixed use model where I sometimes have to do some things with GDI,
but try to use GDI+ when possible. In a recent case, I'm setting a viewport
origin before generating a bitmap. While drawing into the offscreen bitmap,
I use GDI+ DrawLine to draw some translucent lines. Unfortunately, DrawLine
is ...
|
translucent client area with WS_EX_LAYERED
Wed, 16 Jan 2008 13:01:00 -0800
Hello,
I'd like to make a standard overlapped window, with menu, but with a
translucent client area (drawing with per-pixel alpha). When I use
WS_EX_LAYERED with UpdateLayeredWindow I can paint my content just fine.
However, the menu disappears (although I can operate it if I know where to
click). Also ...
|
how to get page alignment in tray?
Wed, 16 Jan 2008 12:41:12 -0800 (PST)
I need to get the feed alignment of the page in the printer tray
Some printers feed paper stock from the center of the tray, some from
the right and most from the left.
It used to be possible to just call DeviceCapabilities() and pass
DC_BINADJUST
The returned values were:
DCBA_FACEUPNONE
DCBA_FACEUPCENTE ...
|
|
|
Aero Effects in a Vista Credential Provider
Tue, 15 Jan 2008 12:49:01 -0800
I'm working on developing a custom Credential Provider solution for Vista,
and this solution includes a couple of "pop-up" dialogs defined by me. I
would like these dialogs to include the snazzy Aero Glass effects, but my
efforts to use the DWM API in the Logon context have so far failed
(DwmIsCompositionEna ...
|
icon index
Mon, 14 Jan 2008 22:08:00 -0800
What controls the assignment of the "Icon Index" to the icons that I've put
into an RC file?
I have not had much luck hunting around for an answer to this?
--
Gak -
Finecats ...
|
getdc crash
Sun, 13 Jan 2008 11:01:53 -0800 (PST)
hi,
I am having another problem with my GDI+, it seems that after 8 min.
or so, I'd get my
Dgiplus::Graphics g(frameView.GetDC-> m_hDC); crash.
what seems to be the problem? why there si a memory leak here? what
needs to be done? ...
|