Search:
Type: Posts; User: khaldoun KASSEM
Search:
Search took 0.07 seconds.
-
Hi all,
I have the folowing C structs in a dll :
#pragma pack(push, 2)
struct MyRange {
-
August 8th, 2007, 05:06 AM
Hi
No solution for the moment
I am trying to use GetCharWidth to get char widths and ExttextOut to render the text. (Exemple found on the web from Feng Yuang).
when using the...
-
July 16th, 2007, 09:12 AM
An exemple wich reproduce the behaviour of the DrawText function...
EDIT
Finaly the problem is in the DrawText Function, because the TextOut is working...
Thank you
-
July 13th, 2007, 10:21 AM
Thank you,
I tried many font face, I have the same problem;
after your comment, I tested all possibilities, the output is the same
-
July 13th, 2007, 09:35 AM
the problem is not in erasing background or not, its really in renderring text, I have it when printing my text...
-
July 13th, 2007, 08:43 AM
After doing some tests the problem is due to the length of the string being rendered and the size of the font;
I repalced the DrawText with a TextOut and I get the same behaviour?
Any Idea
-
July 13th, 2007, 07:49 AM
You can change the output of your project (property pages -> linker -> output file) to your directory (application directory);
and the working directory (property pates -> debugging-> working...
-
July 13th, 2007, 07:26 AM
Hi
I try to draw a text using gdi function DrawText, the letters overlaps when the size of the font is too small (3 points)?
//FONT
CFont font;
LOGFONT lgFont;
memset(&lgFont, 0,...
-
July 10th, 2007, 08:29 AM
May be I was not very clear in my first post.
my call is the following:
CDatabase db;
db.OpenEx(sConnectionString,CDatabase::openReadOnly | CDatabase::forceOdbcDialog);
The ODBC Driver...
-
July 10th, 2007, 08:06 AM
thank you for your reply
but I want to display the dialog to configure the datasource, but I want the dialog to be on the front of my application Dialog?
-
July 10th, 2007, 07:46 AM
Hi
I am calling :
CDatabase::OpenEx to configure an ODBC connection, from a MFC based Dialog, and when I choose a MySql driver (3.51.15) the connection configuration Dialog goes behind my dialog?...
-
I have the same problem?
when I use CDatabase its OK but when I use CDaoDatabase I have the error message?
Thank you
-
February 23rd, 2007, 04:53 AM
Hi
Now I can get it to work when drawing to emf file, but not on printer...
I replace the playmetafile by an EnumEnhMetaFile with the folowing EMFProc, its better but it doesn't work on printer...
-
February 22nd, 2007, 06:46 AM
If I desactivate the ModifyworldTransform calls the output is OK?
Thank you
-
February 22nd, 2007, 05:36 AM
Hi
I want to rotate Emf Images, I am using GDI, winXP.
I can get it to work with most emf images, but recently I detect that when the emf image contain a gradient, the image is rotated but the...
-
October 17th, 2006, 01:29 PM
Sorry I forgot :
pDC->ModifyWorldTransform(&xForm,MWT_LEFTMULTIPLY);
I modified the post...
-
October 17th, 2006, 10:13 AM
Hi
I want to scale a text using GDI DrawTextEx Function, so I do the folowing;
UINT uFormat = DT_WORDBREAK;
pDC->SetGraphicsMode(GM_ADVANCED);
-
March 1st, 2006, 12:27 PM
Hi to all
I want to extract clipping path from jpeg images, and I am trying many technologies but I can't get the right one:
I use visual C++ 6.0 and GDI+, so I tried Image::GetPropertyItem...
-
February 8th, 2006, 04:41 PM
Thank you for this explanation and I think this is my problem
I am trying to find a solution, and looking to the sample sent by Arjay
Thank you
-
February 8th, 2006, 01:58 PM
I am using virtual list ctrl, and its fast to add elements to it,
but when I get elements from database it takes more time to finish.
thank you
-
February 8th, 2006, 01:51 PM
I want my dialog to be movable, and to do his painting stuf "OnPaint()"...
I disable all controls in my dialog (in the worker Thread), and enable them when it end.
The worker Thread read...
-
February 8th, 2006, 08:47 AM
Hi Again
the problem is :
When I EnterCriticalSection in a worker Thread, and before LeaveCriticalSection I try to EnterCriticalSection in the main dialog it blocks...
The thread stops and don't...
-
February 8th, 2006, 08:30 AM
Thank you
Yes, The MFC Dialog blocks and I must kill my process.
I think its a problem with the user interface mesages, because when I use the same mechnism in two working threads without UI,...
-
February 8th, 2006, 05:30 AM
Hi to all
I am using CriticalSections in a MFC based application
I have a dialog, containing a CListCtrl. I use a thread to fill the list because it contains 5000 elements and I don't want to...
-
February 7th, 2006, 05:02 AM
Hi to all
I have a graphical application
when I use it, the memory used increase, but does not decrease.
for exemple I open a dialog, I get +600KB, when I close it I get -300KB
and so on,
I...
|
Click Here to Expand Forum to Full Width
|