Console output from MFC dialog based app
Fri, 18 Apr 2008 05:26:01 -0700
Dear All,
I have developed a MFC dialog based application. Now when I execute this app
from command prompt, I need to write some text to console back.
In console application we achieve this using functions like printf(),
puts(), etc.
Please let me know how do I achieve same in dialog based application sin ...
|
Drawing curves
Fri, 18 Apr 2008 12:31:45 +0800
gud mornin...
i want to draw curves in c# directx.. i have done some calculations and
finally got two values and those 2 values are in degrees..i need to pass
these values to draw curves..and depending on these values i need change the
position of curve ..is it possible to done with c# directx..
thanks:) ...
|
Switching primary monitor
Thu, 17 Apr 2008 05:04:39 -0700 (PDT)
I have been trying to use ChangeDisplaySettingsEx() to switch the
primary display device as per the post:
http://groups.google.com/group/microsoft.public.win32.programmer.gdi/msg/f298871db17f2c97
However, it doesn't not work. I'm running it on a Dell Inspiron
laptop with an ATI graphics chip, and running XP ...
|
Using GDI+ (color gradation) in C program?
Thu, 17 Apr 2008 02:02:01 -0700
I want to paint a window with color gradation between two colors.
I have long back worked on GDI+ calls from my C / C++ program.
Could you please let me know how to use it?
...
|
DDX_Text fails to call EN_CHANGE or EN_UPDATE on DoDataExchange wh
Wed, 16 Apr 2008 00:41:01 -0700
Hi,
I've noticed an odd behavior with the DDX_Text that I don't quite understand
where it will not send a EN_CHANGE or EN_UPDATE when the text within a CEdit
control changes. Anyway, DDX_Text
calls AfxSetWindowText which calls ::SetWindowText which causes the control
to receive a WM_SETTEXT in response to w ...
|
Problem while printing on Windows 2003 Server
Tue, 15 Apr 2008 21:25:22 -0700 (PDT)
Hi,
One of our customer is using Windows 2003 Server Stanrard edition (SP
2 R2).
Howevrer when he tried to print any document, the information printed
is incomplete. Also he has installed PDF drivers. When he tries
printing it using this driver, the same thing happens.
The application is written in C/C++ ...
|
GDI across process boundaries
Tue, 15 Apr 2008 17:43:05 +0100
On Windows XP and Vista, is it legal for one process to draw to another
process's window using GDI?
For example, if I have process #1 that spawns process #2 using
CreateProcess and passes its hwnd as an argument, is it legal for
process #2 to call GetDC and StretchDIBits to draw an image to process
#1's w ...
|
|
|
Rotate, Stretch Ellipse in C# GDI+
Tue, 15 Apr 2008 09:03:06 -0700
I would like to draw an ellipse on a windows form and through mouse drags
stretch, rotate and relocate the ellipse.
Thanks in advance - Dan ...
|
GDI+ - construct Bitmap from IStream
Mon, 14 Apr 2008 18:30:49 -0500
We'd like to append a thumbnail bitmap at the end of a custom file type so
it can be extracted by an XP, i.e. pre-Vista, thumbnail extractor shell
extension. One of the GDI+ Bitmap constructors initializes a bitmap from an
IStream, and I can get it to load the Bitmap correctly from an IStream
initialized on the ...
|
How to change character spacing ?
Sun, 13 Apr 2008 19:55:00 -0700
I'm developing some kind of application that need to draw some graphics and
text.
I need to change character width and spacing when draw texts.
The width of the characters can be changed with LOGFONT.lfWidth when
creating a font. But I cannot find any method that allow the spacing of the
characters.
We ...
|