Home > Software engineering >  MFC sendmessage function to send multiple messages
MFC sendmessage function to send multiple messages

Time:10-23




As shown in figure if you still want to send the type int m_JAC and int class array m_JA, code should be how to write

CodePudding user response:

Stprintf_s cstrings Format such as formatted string

CodePudding user response:

Can you give me to write about the specific code?

CodePudding user response:

Cstrings strText;
StrText. Foramat (TEXT (" % d "), m_JA);
SendMessage (... );

CodePudding user response:

Such as no, because the front send data in the buffer, also the data directly into the words at the receiving end is unable to correctly distinguish the two data, may appear garbled

CodePudding user response:

reference 4 floor baidu_25110797 response:
such as no, because the front send data in the buffer, also the data directly into the words at the receiving end is unable to correctly distinguish the two data, what may be garbled words

SendMessage is directly the message directly to the corresponding window procedure function, waiting for the message processing is completed the function did not return to, don't quite understand what you said " the data in the same buffer, the data directly into the words at the receiving end is unable to correctly distinguish the two data "what meaning be?

CodePudding user response:

reference 4 floor baidu_25110797 response:
such as no, because the front send data in the buffer, also the data directly into the words at the receiving end is unable to correctly distinguish the two data, what may be garbled words


That you create a few more cstrings variables, convert sent not to go

CodePudding user response:

Use WM_COPYDATA

CodePudding user response:

reference 4 floor baidu_25110797 response:
such as no, because the front send data in the buffer, also the data directly into the words at the receiving end is unable to correctly distinguish the two data, what may be garbled words


reference 5 floor VisualEleven reply:
Quote: refer to 4th floor baidu_25110797 response:

Such as no, because the front send data in the buffer, also the data directly into the words at the receiving end is unable to correctly distinguish the two data, what may be garbled words

SendMessage is directly the message directly to the corresponding window procedure function, waiting for the message processing is completed the function did not return to, don't quite understand what you said " the data in the same buffer, the data directly into the words at the receiving end is unable to correctly distinguish the two data "what meaning be?


reference 5 floor VisualEleven reply:
Quote: refer to 4th floor baidu_25110797 response:

Such as no, because the front send data in the buffer, also the data directly into the words at the receiving end is unable to correctly distinguish the two data, what may be garbled words

SendMessage is directly the message directly to the corresponding window procedure function, waiting for the message processing is completed the function did not return to, don't quite understand what you said " the data in the same buffer, the data directly into the words at the receiving end is unable to correctly distinguish the two data "what meaning be?


reference 5 floor VisualEleven reply:
Quote: refer to 4th floor baidu_25110797 response:

Such as no, because the front send data in the buffer, also the data directly into the words at the receiving end is unable to correctly distinguish the two data, what may be garbled words

SendMessage is directly the message directly to the corresponding window procedure function, waiting for the message processing is completed the function did not return to, don't quite understand what you said " the data in the same buffer, the data directly into the words at the receiving end is unable to correctly distinguish the two data "what meaning be?


reference 5 floor VisualEleven reply:
Quote: refer to 4th floor baidu_25110797 response:

Such as no, because the front send data in the buffer, also the data directly into the words at the receiving end is unable to correctly distinguish the two data, what may be garbled words

SendMessage is directly the message directly to the corresponding window procedure function, waiting for the message processing is completed the function did not return to, don't quite understand what you said " the data in the same buffer, the data directly into the words at the receiving end is unable to correctly distinguish the two data "what meaning be?


reference 5 floor VisualEleven reply:
Quote: refer to 4th floor baidu_25110797 response:

Such as no, because the front send data in the buffer, also the data directly into the words at the receiving end is unable to correctly distinguish the two data, what may be garbled words

SendMessage is directly the message directly to the corresponding window procedure function, waiting for the message processing is completed the function did not return to, don't quite understand what you said " the data in the same buffer, the data directly into the words at the receiving end is unable to correctly distinguish the two data "what meaning be?


reference 5 floor VisualEleven reply:
Quote: refer to 4th floor baidu_25110797 response:

Such as no, because the front send data in the buffer, also the data directly into the words at the receiving end is unable to correctly distinguish the two data, what may be garbled words

SendMessage is directly the message directly to the corresponding window procedure function, waiting for the message processing is completed the function did not return to, don't quite understand what you said " the data in the same buffer, the data directly into the words at the receiving end is unable to correctly distinguish the two data "what meaning be?


reference 5 floor VisualEleven reply:
Quote: refer to 4th floor baidu_25110797 response:

Such as no, because the front send data in the buffer, also the data directly into the words at the receiving end is unable to correctly distinguish the two data, what may be garbled words

SendMessage is directly the message directly to the corresponding window procedure function, waiting for the message processing is completed the function did not return to, don't quite understand what you said " the data in the same buffer, the data directly into the words at the receiving end is unable to correctly distinguish the two data "what meaning be?


reference 5 floor VisualEleven reply:
Quote: refer to 4th floor baidu_25110797 response:

Such as no, because the front send data in the buffer, also the data directly into the words at the receiving end is unable to correctly distinguish the two data, what may be garbled words

SendMessage is directly the message directly to the corresponding window procedure function, waiting for the message processing is completed the function did not return to, don't quite understand what you said " the data in the same buffer, the data directly into the words at the receiving end is unable to correctly distinguish the two data "what meaning be?


reference 5 floor VisualEleven reply:
Quote: refer to 4th floor baidu_25110797 response:

Such as no, because the front send data in the buffer, also the data directly into the words at the receiving end is unable to correctly distinguish the two data, what may be garbled words

nullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related