Search:
Type: Posts; User: VictorN
Search:
Search took 0.44 seconds; generated 13 minute(s) ago.
-
-
I never used std::format, so can only guess.
Try
std::format("{:< .8f}", .111111);
-
March 28th, 2024, 03:11 AM
I guess your problem is in your code: it has nothing to do with the native C++, it looks like Managed C++/CLI.
So I'll move your question to the more appropriate forum.
-
March 13th, 2024, 04:41 PM
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?
-
March 13th, 2024, 12:40 PM
Then calculate the number of CRLF in the displayed text and substract it from the calculated "count of wrapped lines"
-
March 13th, 2024, 10:09 AM
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...
-
March 13th, 2024, 03:52 AM
Because I did/do not see any sense in counting wrapped lines.
-
March 13th, 2024, 02:50 AM
Have a look at the CDC class and its methods like DrawText or/and some similar ones
-
March 12th, 2024, 02:24 PM
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?
-
March 12th, 2024, 02:34 AM
Please define "logical (wrapped) lines".
-
March 8th, 2024, 02:31 PM
:d
No don't worry! it was just an image linked to my profile. However this linking does not work anymore (since about 4...5 years)
-
March 4th, 2024, 04:49 PM
-
March 2nd, 2024, 01:13 PM
I have no idea what Red Panda is and what it can.
But what prevents you to use VS 2022 Community Edition?
-
March 1st, 2024, 07:55 AM
Here is noted that
However, IMHO you could try the sample code from there
-
March 1st, 2024, 02:26 AM
:confused::confused::confused:
-
February 29th, 2024, 02:41 AM
You probably meant "has to have a DBMS to create a database". Didn't you?
-
February 26th, 2024, 02:16 AM
Again: you have to send SQL command with "CREATE DATABASE ..." to your DBMS.
See also...
-
February 25th, 2024, 11:47 AM
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
-
February 23rd, 2024, 02:27 AM
-
February 12th, 2024, 02:12 AM
You could find some ideas from https://www.codeproject.com/Articles/1298/Rearrange-rows-in-a-ListView-control-by-drag-and-d
-
February 5th, 2024, 02:11 AM
[moved from C++ (Non Visual C++ Issues) forum]
-
February 1st, 2024, 02:25 AM
Did you try to send EM_SETCHARFORMAT message?
-
January 30th, 2024, 09:59 AM
Glad you could solve the problem! :):)
-
January 27th, 2024, 12:52 PM
my first guess/suggestion is replace CString wit CStringA
-
January 25th, 2024, 02:32 AM
DId you try to ask the author of the article?
|
Click Here to Expand Forum to Full Width
|