I want to find the message in the text, the message ends, and the regular rule with WM USER in the m

Updated on technology 2024-02-08
9 answers
  1. Anonymous users2024-02-05

    define wm_my_message wm_user + 100

    Of course, it is also possible that you forgot to put a space between your WM My Message and (WM user + 100), judging from the question you posted now, it is very likely that this error is the case.

  2. Anonymous users2024-02-04

    A message can be a text message, or it can be a message, that is, someone tells you something, and then you say that he gave you a meassage. It can also be used as news, newsletters, messages, messages, messengers, slogans, prophecies, teachings.

  3. Anonymous users2024-02-03

    How can there be no WM initdialog message mapping? I guess there is a problem with your operation steps.

    Do you use it, press Ctrl+W in the VC to pop up the MFC ClassWizard, and then in the "Object IDS" area on the left, you need to select your dialog class, and then you can see the WM Initdialog message on the right.

  4. Anonymous users2024-02-02

    Generally, it is not added manually. It is a virtual function of the dialog box that can be added via the Override button in the Properties tab. Override is located to the right of Messages.

    If it is VS2005, you should first position the caret in the middle of the message innuendo ** in the cpp file of the dialog box, as follows:

    begin_message_map(cmydialog, cdialog)

    --This way. end_message_map()

  5. Anonymous users2024-02-01

    procedure : tobject; var key: word;

    shift: tshiftstate);

    vars:string;

    hand:thandle;

    beginif key=13 then

    begins:='k net send '+;

    shellexecute(handle,nil,'',pchar(s),nil,sw_hide);Hide the cmd window.

    hand:=findwindow(nil,'c:\winnt\system32\');Find the cmd handle.

    if hand<>0 then if a sentence is found.

    sendmessage(hand,wm_close,0,0);Close the hidden cmd window.

    end;end;

    There is only one TEDIT control in the interface, followed by the computer name or IP, press the enter key to send a message.

    This is what I've been using.,If you want to make fun of the interface you said,Then you can change it a little bit later.。

    Hehe, sorry, I forgot to tell you that Shanchuan wants to refer to the shellapi unit.

  6. Anonymous users2024-01-31

    The user is disconnected. Your text message cannot be delivered.

  7. Anonymous users2024-01-30

    if we are talking about the telephone...

    Consumer Close** Your message cannot be delivered.

  8. Anonymous users2024-01-29

    When users are offline, your message can't be communicated.

  9. Anonymous users2024-01-28

    1 All Hello! The static cast() function cannot convert the pointer type.

    According to the error message you reported, it should be that you are using the staic cast function in **, trying to convert the function pointer type void (thiscall cchatdlg::*wparam,lparam) to the lresult (thiscall cwnd::*wparam,lparam) type.

    First, the return value of the two pointer types is different;

    Second, the class qualifiers of these two function pointers are also different, one is cchatdlg and the other is cwnd.

Related questions
8 answers2024-02-08

Without the slip 101 template, you can't write it well according to the content structure of the document. It's better to paste the back part of the original text in its entirety. >>>More