|
|
|
Need Printer Details
Thu, 3 Apr 2008 02:00:00 -0700
Hi All,
I want to get details of printer like vendor, product, serial no., IP
address(for N/W printers) and MAC address.
I have seen Win Spooler APIs like GetPrinter(), EnumPrinter() and
PRINTER_INFO_2 structure, however none of them gives above mentioned
parameters.
Above mentioned attributes are vai ...
|
How to get Printer Added notification PRINTER_CHANGE_ADD_PRINTER
Thu, 3 Apr 2008 01:41:01 -0700
Hi All,
I have developed a mulithreaded app where in I look for notification changes
of printer using FindFirstPrinterChangeNotification() and
FindNextPrinterChangeNotification().
In FindFirstPrinterChangeNotification() I am passing PRINTER_CHANGE_PRINTER
as condition to monitor.
As per MSDN when printe ...
|
List Physical Drives (c++ | WINAPI)
Wed, 02 Apr 2008 10:05:15 +0200
Hello!
I want to list all physical drives on my machine...
anybody knows how to do this?
(win32 api, c++) ...
|
Printing multiple DC
Tue, 1 Apr 2008 10:52:01 -0700
Hi,
I am trying to implement a printing functionality in an application and have
never done it.
One question I have, is it possible to create multiple DC which I will pass
to my printer DC?
I need to print different kind of information on the page from different
sources, so I was thinking of creating a DC ...
|
How to get GetScrollBarInfo working on Windows XP when using Theme
Tue, 1 Apr 2008 02:43:01 -0700
I am using the Platform SDK, and call GetScrollBarInfo function to retrieve
information about the specified scroll bar.
How to get GetScrollBarInfo working on Windows XP when using Themes ?
This function works well on Windows XP, but when using themes, it doesn't
works, it always returns 0 (insteed of 1) ...
|
seethru client area
Sun, 30 Mar 2008 20:40:06 -0700 (PDT)
hi,
I want to create a window where you can "see-thru" it,i.e the contents
of the window below it should be visible.
How can I do this?
Regards
Chimanrao ...
|
conversion: Font Point Size <=> LOGFONT::lfHeight
Fri, 28 Mar 2008 10:12:48 -0400
When converting between font point size and the LOGFONT structure's lfHeight
variable, I've always used the example code in the MSDN documentation, shown
below (reversing it to do the opposite conversion).
lfHeight = -MulDiv(PointSize, GetDeviceCaps(hDC, LOGPIXELSY), 72);
This seems to work fine, however, th ...
|
|
|
Icon, 32bit or 8bit alpha transparency (translucent) in mfc
Fri, 28 Mar 2008 03:22:01 -0700
I need to have a C++ MFC project use an icon that has 8 bit alpha
transparency ... not just 1 color transparency.
The furthest I've gotten is converting
m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME)
to
m_hIcon = (HICON)LoadImage(::AfxGetResourceHandle(),
MAKEINTRESOURCE(IDR_MAINFRAME), IMAGE_ICON, 0, 0, ...
|
Image Tiling with GDI+ and C++
Fri, 28 Mar 2008 02:10:00 -0700
Hi folks,
I'm trying to take individual images and tile them together to form one
larger image. The images are ordered, as they are pieces of a larger view,
and currently I am trying to do this with 9 images in a grid of 3 by 3. Does
anyone have any experience of this kind of thing using native unmanaged C+ ...
|
PolyPolygon and PolyPolyline in GDI+
Thu, 27 Mar 2008 07:10:00 -0700
I have a graphics app that uses GDI. I would like to add support for color
transparency. All our GDI calls are in one place. I would like to make a
helper class that mimics all the drawing primitives: Polygon, PolyPolygon,
Rectangle, PolyLine, PolyPolyline, MoveTo, LineTo, etc. Then I could update
al ...
|
|
|