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

Search:

Type: Posts; User: VictorN

Page 1 of 80 1 2 3 4

Search: Search took 1.21 seconds; generated 44 minute(s) ago.

  1. Re: Counting logical (wrapped) lines in the text control

    How many steps I suggested in the post https://forums.codeguru.com/showthread.php?566266-Counting-logical-(wrapped)-lines-in-the-text-control&p=2242381#post2242381 have you already completed?
  2. Re: Counting logical (wrapped) lines in the text control

    Then calculate the number of CRLF in the displayed text and substract it from the calculated "count of wrapped lines"
  3. Re: Counting logical (wrapped) lines in the text control

    Text is drawn within the client area of the (text, edit,... ) control.
    Once more: the text is drawn using Device Context API (or their MFC wrapper CDC class methods.
    the work flow is something...
  4. Re: Counting logical (wrapped) lines in the text control

    Because I did/do not see any sense in counting wrapped lines.
  5. Re: Counting logical (wrapped) lines in the text control

    Have a look at the CDC class and its methods like DrawText or/and some similar ones
  6. Re: Counting logical (wrapped) lines in the text control

    I guess it depends on the size of font and size of the area to display the text.

    But why do you need this info?
  7. Re: Counting logical (wrapped) lines in the text control

    Please define "logical (wrapped) lines".
  8. Re: Custom images not appearing in Toolbar buttons

    :d
    No don't worry! it was just an image linked to m profile. However this linking does not work anymore (since about 4...5 ears)
  9. Re: Custom images not appearing in Toolbar buttons

    [added CODE tags]
  10. Replies
    11
    Views
    1,089

    Re: Noob question: Don't know how to build this.

    I have no idea what Red Panda is and what it can.
    But what prevents you to use VS 2022 Community Edition?
  11. Re: error: Use of undeclared identifier 'mysql_create_db'; did you mean 'mysql_select

    Here is noted that
    However, IMHO you could try the sample code from there
  12. Replies
    11
    Views
    6,958

    Re: how to "create" or "make" Schema

    :confused::confused::confused:
  13. Replies
    11
    Views
    6,958

    Re: how to "create" or "make" Schema

    You probably meant "has to have a DBMS to create a database". Didn't you?
  14. Replies
    11
    Views
    6,958

    Re: how to "create" or "make" Schema

    Again: you have to send SQL command with "CREATE DATABASE ..." to your DBMS.
    See also...
  15. Re: C++ Error cannot convert parameter 1 from 'System::Drawing::Pen' to 'System::Draw

    See example in https://learn.microsoft.com/en-us/dotnet/api/system.drawing.graphics.drawrectangle?view=dotnet-plat-ext-8.0

    PS: I had to move your OP to the appropriate forum
  16. Replies
    11
    Views
    6,958

    Re: how to "create" or "make" Schema

    CREATE DATABASE
  17. Replies
    2
    Views
    1,393

    Re: DnD in ListCtrl

    You could find some ideas from https://www.codeproject.com/Articles/1298/Rearrange-rows-in-a-ListView-control-by-drag-and-d
  18. Re: another Access denied for user 'root'@'localhost' (using password: NO)

    [moved from C++ (Non Visual C++ Issues) forum]
  19. Replies
    1
    Views
    3,229

    Re: Help with RichEdit control

    Did you try to send EM_SETCHARFORMAT message?
  20. Replies
    9
    Views
    3,589

    Re: ::cryptDecrypt Fails with Unicode

    Glad you could solve the problem! :):)
  21. Replies
    9
    Views
    3,589

    Re: ::cryptDecrypt Fails with Unicode

    my first guess/suggestion is replace CString wit CStringA
  22. Re: trying to get Database Programming with C/C++, by Manoj Debnath July 11, 2016

    DId you try to ask the author of the article?
  23. Replies
    1
    Views
    813

    Re: const expr debug in visual studio

    Could you share your "workaround"?
  24. Replies
    1
    Views
    5,089

    Re: How to Limit number of files read

    You already got the answers in the CP Forum
  25. Replies
    1
    Views
    1,118

    Re: Skilled Developers NEED HELP Please

    And what are these "numerous errors"?
Results 1 to 25 of 1988
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured