About SendMessage() 
Author Message
 About SendMessage()

Hi,all:
In the LRESULT SendMessage(
  HWND hWnd,      // handle of destination window
  UINT Msg,       // message to send
  WPARAM wParam,  // first message parameter
  LPARAM lParam   // second message parameter
);
Which value can be used about "Msg" parameter? Enum a sample such setting
the CListCtrl control item value,please.


Wed, 16 Feb 2005 15:39:05 GMT  
 About SendMessage()

Quote:

> Hi,all:
> In the LRESULT SendMessage(
>   HWND hWnd,      // handle of destination window
>   UINT Msg,       // message to send
>   WPARAM wParam,  // first message parameter
>   LPARAM lParam   // second message parameter
> );
> Which value can be used about "Msg" parameter? Enum a sample such setting
> the CListCtrl control item value,please.

Are you perhaps asking about LVM_SETITEM?

--
Jeff Partch [MVP]



Wed, 16 Feb 2005 23:22:20 GMT  
 About SendMessage()

Quote:

>Hi,all:
>In the LRESULT SendMessage(
>  HWND hWnd,      // handle of destination window
>  UINT Msg,       // message to send
>  WPARAM wParam,  // first message parameter
>  LPARAM lParam   // second message parameter
>);
>Which value can be used about "Msg" parameter? Enum a sample such setting
>the CListCtrl control item value,please.

Any of the LVM_ values (LVM stands for List View Message, and the
CListCtrl is a wrapper round a Windows List View common control) which
are defined in the common controls header file, and which you'll find
in the documentation, together with details of what the parameters
mean. Ordinary WM_* windows messages will also work, but are less
likely to be useful.

Pete Barrett



Thu, 17 Feb 2005 01:03:49 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. C++ SendMessage equivalent in C# ???

2. SendMessage.

3. Trapping SendMessage via interop services

4. SendMessage with C#

5. How to send string with SendMessage?

6. HELP: SendMessage and CB_GETLBTEXT in C#

7. Newbie: pls help with SendMessage

8. Question: using SendMessage via DllImport

9. SendMessage or Alternative for IPC?

10. SendMessage program in Novell Network

11. SendMessage for PopUP Help

12. Sendmessage HELP !!

 

 
Powered by phpBB® Forum Software