CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: khaldoun KASSEM

Page 1 of 7 1 2 3 4

Search: Search took 0.07 seconds.

  1. Marshalling Struct with Null terminated Array

    Hi all,

    I have the folowing C structs in a dll :




    #pragma pack(push, 2)

    struct MyRange {
  2. Replies
    8
    Views
    1,891

    Re: DrawText : Output letters overlaps

    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...
  3. Replies
    8
    Views
    1,891

    Re: DrawText : Output letters overlaps

    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
  4. Replies
    8
    Views
    1,891

    Re: DrawText : Output letters overlaps

    Thank you,


    I tried many font face, I have the same problem;




    after your comment, I tested all possibilities, the output is the same
  5. Replies
    8
    Views
    1,891

    Re: DrawText : Output letters overlaps

    the problem is not in erasing background or not, its really in renderring text, I have it when printing my text...
  6. Replies
    8
    Views
    1,891

    Re: DrawText : Output letters overlaps

    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
  7. Replies
    4
    Views
    1,313

    Re: problem with tinyxml in visual c++

    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...
  8. Replies
    8
    Views
    1,891

    DrawText : Output letters overlaps

    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,...
  9. Replies
    5
    Views
    1,178

    Re: ODBC Driver Configuration Dialog

    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...
  10. Replies
    5
    Views
    1,178

    Re: ODBC Driver Configuration Dialog

    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?
  11. Replies
    5
    Views
    1,178

    ODBC Driver Configuration Dialog

    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?...
  12. Re: Opening ODBC with CDaoDatabase::open()

    I have the same problem?

    when I use CDatabase its OK but when I use CDaoDatabase I have the error message?


    Thank you
  13. Replies
    2
    Views
    1,499

    Re: Rotate Emf with Gradient

    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...
  14. Replies
    2
    Views
    1,499

    Re: Rotate Emf with Gradient

    If I desactivate the ModifyworldTransform calls the output is OK?

    Thank you
  15. Replies
    2
    Views
    1,499

    Rotate Emf with Gradient

    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...
  16. Re: DrawText, Scale and world transformation

    Sorry I forgot :


    pDC->ModifyWorldTransform(&xForm,MWT_LEFTMULTIPLY);

    I modified the post...
  17. DrawText, Scale and world transformation

    Hi

    I want to scale a text using GDI DrawTextEx Function, so I do the folowing;




    UINT uFormat = DT_WORDBREAK;

    pDC->SetGraphicsMode(GM_ADVANCED);
  18. Replies
    0
    Views
    3,519

    clipping path in JPEG images

    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...
  19. Replies
    13
    Views
    4,447

    Re: CriticalSection DeadLock ?...

    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
  20. Replies
    13
    Views
    4,447

    Re: CriticalSection DeadLock ?...

    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
  21. Replies
    13
    Views
    4,447

    Re: CriticalSection DeadLock ?...

    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...
  22. Replies
    13
    Views
    4,447

    Re: CriticalSection DeadLock ?...

    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...
  23. Replies
    13
    Views
    4,447

    Re: CriticalSection DeadLock ?...

    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,...
  24. Replies
    13
    Views
    4,447

    CriticalSection DeadLock ?...

    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...
  25. Replies
    1
    Views
    731

    Physical Memory Increase....

    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...
Results 1 to 25 of 156
Page 1 of 7 1 2 3 4





Click Here to Expand Forum to Full Width

Featured