Sending keyboard inputs to combobox
Thu, 10 Jul 2008 17:03:15 -0700
I am trying to create a on screen key board.
I simply want to send a key (Simulate the keyboard) to a combo box using the Handle of the control.
The below code is not working
public const ushort WM_KEYDOWN = 0x0100;
public const ushort WM_KEYUP = 0x0101;
//Set the active window
...
|
ReadPrint Failure. How to use it properly
Thu, 10 Jul 2008 15:07:34 -0700
I am trying to retrieve data from a bidirectional printer using the
ReadPrint API function.
The printer I am using is connected via USB.
Issue:
The ReadPrint function is returning false. The error code retrieved by
GetLastError is 6 (ERR_INVALID_HANDLE).
Before I use ReadPrint I create a printer handle usi ...
|
How to capture EMF file for a print job
Wed, 9 Jul 2008 09:04:01 -0700
I have been asked to intercept all printing for a POS kind of system, where
every product goes through a printer. I have managed to use EnumPrinters just
fine to get the list of printers. And I've been looking at the various
...PrinterNotification APIs to make a monitor application that will feed the
POS "ca ...
|
Questions about print and print spooler Win GDI functions
Tue, 8 Jul 2008 09:45:02 -0700
I am trying to use Windows GDI Print and Print Spooler functions to get the
information of print jobs.
1. I have found that the number of pages printed in a job stored in
JOB_INFO_1::PagesPrinted with the job info object returned by EnumJobs() &
GetJob() is always zero. Is it just because it has happened t ...
|
Font names with @-sign
Mon, 7 Jul 2008 07:09:33 -0700 (PDT)
If I call EnumFonts(), the list of retrieved fonts include a few that
start with a @. For example, I have both an "Arial Unicode MS" and an
"@Arial Unicode MS". The @-names do not show up in applications such
as Word.
What does the @ mean?
--
Claus Tondering ...
|
Control the speed of a print job
Sun, 6 Jul 2008 16:32:40 +0800
Is it possible to control the speed of a print job? For example, let the
print job to print a single page, then wait for a period of time before
print another page.
...
|
switching between offscreen and onscreen drawing
Fri, 4 Jul 2008 03:28:59 -0700 (PDT)
hi
I have a piece of code which does offscreen drawing, its raster based
drawing.
1. I create a offscree bitmap using CreateDIBSection
2. Get the bits for this bitmap.
3. fill the bits based on the algorithm
4. In WM_PAINT, bitblt this offscreen bitmap.
I want to able to switch between offscreen and ons ...
|
|
|
Sending PostScript to Windows Printers
Thu, 3 Jul 2008 15:33:11 -0400
Hi all,
I have a program which emits PostScript. It used to send the PostScript
directly to the printer, so the printer must be PostScript capable. We want
this program be able to print to any Windows printer without too much
changes. So my question is - is there a way to ask Windows to convert
PostScript ...
|
Creating a rectangle having rubber band effect filled with
transparent color
Thu, 3 Jul 2008 02:33:30 -0700 (PDT)
Hi All,
I have a requirement to draw a rectangle having rubber band effect. ie
when i click on one point of screen and starts dragging, a bounding
rectangle needs to be created and on dragging it should grow. Also i
need to fill this rectangle using a transparent color.
I am able to fill by using GDI+ as sh ...
|
XcvData broken on Vista
Wed, 02 Jul 2008 20:20:41 -0400
I have a print driver/port monitor pair that use XcvData and XcvDataPort
to communicate. When the printer is being used as a network printer and
connected to by a client, the driver on the client calls XcvData with a
custom string in pszDataName. My XcvDataPort function in the port
monitor recognizes this str ...
|