Search:
Type: Posts; User: OneEyeMan
Search:
Search took 0.15 seconds.
-
March 13th, 2024, 03:46 PM
Hi,
1. What will I get?
2. How do I get "count of wrapped lines"?
Thank you.
-
March 13th, 2024, 12:29 PM
Hi,
Understood,
Except, I need to know the count of wrapped lines, not how many lines are currently displayed in the control.
And yes it is in the edit control - I have been out of the Win32 for...
-
March 13th, 2024, 08:56 AM
Hi,
I'm not drawing text.
I'm using text control to display some text.
And in such control I want to know how many wrapped lines are there.
Simple.
And so CDC class will not help here.
-
March 13th, 2024, 08:54 AM
Hi,
How else to know the size of the text control?
Thank you.
-
March 12th, 2024, 02:33 PM
Hi,
I'm not counting the "displayed" lines - I'm counting wrapped lines, i.e. how the control displayed them.
Also - why do you ask?
Thank you.
-
March 12th, 2024, 08:03 AM
Hi,
Open WordPad and start typing. DO NOT PRESS ENTER.
At some point of time the text will go to a new line (wrap).
After typing more - press Enter.
Now what I'd like to know is:
How...
-
March 11th, 2024, 11:46 PM
Hi, ALL,
There is a EM_GETLINECOUNT, but it counts physical lines of the coyntrol, i.e. basically counts '\n\r' symbol.
Is there a way to count number of logical (wrapped) lines in the text...
-
February 10th, 2024, 11:53 AM
Hi, ALL,
There is no built-in support for DnD in ListCtrl.
There is a BEGINDRAG message but no ENDDRAG.
So I made it b handling BEGNDRAG and "mouse up" messages.
The problem is I don't see a...
-
November 28th, 2023, 10:46 PM
Hi, ALL,
I am doing a cross-platform programming using C++ cross-platform library.
At one point of time my program needs to read the value from the configuration file. The value will have value...
-
February 2nd, 2022, 11:48 AM
Hi,
Yes, it did.
However, MSDN says:
I tried to check the EM_EXLINEFROMCHAR, but it uses different parameters, if I understand correctly.
-
February 1st, 2022, 10:35 PM
Hi, ALL,
Is there a simple way to go from SELCHANGE structure to the (x.y) caret position? I was thinking about EN_SELCHANGE message...
Or I should handle different one?
Thank you.
-
September 29th, 2021, 11:34 AM
Hi, ALL,
MSDN at this link states that there is a flag
However, it also indicates that the structure has
which I think contradicts each other as there is no indication I can set the...
-
April 8th, 2021, 11:18 PM
Hi
int i = 0;
SQLSMALLINT numColumns;
ret = SQLColumns( stmt_col, catalog_name, SQL_NTS, L"INFORMATION_SCHEMA", SQL_NTS, L"ROUTINES", SQL_NTS, NULL, 0 );
ret = SQLNumResultCols( stmt_col,...
-
April 8th, 2021, 04:34 PM
Hi,
It is a 29th column - something about catalog. I will post a name tonight when I get home.
Thank you.
-
April 8th, 2021, 04:32 PM
Hi,
I can't call this in a loop, because I'm binding to a different variable names.
And I did say that error checking is omitted.
Thank you.
-
April 7th, 2021, 10:38 PM
Hi,
Its actually called many times - for every column that SQLColumns() return.
Thank you.
-
April 7th, 2021, 07:57 PM
Hi,
ret = SQLColumns();
ret = SQLBindColumn();
ret = SQLBindColumn();
...
-
April 7th, 2021, 09:20 AM
VictorN
I'm looking at the debugger.
Thank you.
-
April 6th, 2021, 08:49 PM
Hi, guys,
for( int count = 0; count < i; count++ )
{
ret = SQLColAttribute(...
-
March 28th, 2021, 11:40 PM
2kaud,
Thank you for the code.
Works like a charm.
-
March 26th, 2021, 08:10 PM
2kaud,
I commented ut that code and now I have a crash.
The code now is:
ValuueType() : intValue( 0 )/*, doubleValue( 0.0 ), stringValue( L"" )*/ {}
-
March 26th, 2021, 10:54 AM
2kaud,
So basically what you are saying is that in order to fix it I should initialize only one member in constructor of the
union ValueType? I.e,.:
ValuueType() : intValue( 0 ) {}
-
March 26th, 2021, 08:29 AM
Hi, ALL,
struct DataEditFiield
{
int type, m_size, m_precision;
union ValuueType
{
void *blobValue;
int intValue;
-
March 15th, 2021, 06:17 PM
Hi, ALL,
Could someone lease explain why some pages in MS documentation do not match when they should?
1. Page 1 at...
-
March 1st, 2021, 02:53 PM
|
Click Here to Expand Forum to Full Width
|