Click here to Skip to main content
15,899,754 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to check language of Outlook Pin
Stephan Wright14-Jul-04 21:25
Stephan Wright14-Jul-04 21:25 
GeneralRe: how to check language of Outlook Pin
Ivaylo®14-Jul-04 21:56
Ivaylo®14-Jul-04 21:56 
GeneralWindowsForm Styles too Limited Pin
3green14-Jul-04 3:04
3green14-Jul-04 3:04 
GeneralRe: WindowsForm Styles too Limited Pin
Gary Thom14-Jul-04 4:24
Gary Thom14-Jul-04 4:24 
GeneralInternet Explorer, Flash and OnClick message... Pin
Alex Getman14-Jul-04 1:50
Alex Getman14-Jul-04 1:50 
GeneralRe: Internet Explorer, Flash and onclick message... Pin
Nick Parker14-Jul-04 3:21
protectorNick Parker14-Jul-04 3:21 
GeneralRe: Internet Explorer, Flash and onclick message... Pin
Alex Getman14-Jul-04 4:16
Alex Getman14-Jul-04 4:16 
GeneralRe: Internet Explorer, Flash and onclick message... Pin
Nick Parker14-Jul-04 4:50
protectorNick Parker14-Jul-04 4:50 
Alex Getman (leTaon) wrote:
Could you please give me some links or code samples
of SendMessage, HWND and FindWindow usage?


Reading MSDN[^] will be very helpful. In particular, SendMessage is documented here[^], however because it is a native method, you will need to use P/Invoke to gain access to it. Reading about the DllImportAttribute Class[^] will be helpful. Also, you can read about P/Invoke here[^]. In .NET, a HWND or handle is of data type IntPtr. The SendMessage declaration should look like this:

[DllImport("user32.dll")]
static extern IntPtr SendMessage(IntPtr hWnd, uint Msg, IntPtr wParam,
   IntPtr lParam);


- Nick Parker
My Blog | My Articles

GeneralSetup and Installation Project Pin
Praveen Nayak14-Jul-04 0:19
Praveen Nayak14-Jul-04 0:19 
GeneralRe: Setup and Installation Project Pin
Heath Stewart14-Jul-04 5:11
protectorHeath Stewart14-Jul-04 5:11 
GeneralRe: Setup and Installation Project Pin
Praveen Nayak14-Jul-04 5:23
Praveen Nayak14-Jul-04 5:23 
GeneralRe: Setup and Installation Project Pin
Heath Stewart14-Jul-04 5:42
protectorHeath Stewart14-Jul-04 5:42 
GeneralYou Can Also Post Your Openion. Pin
sreejith ss nair13-Jul-04 22:57
sreejith ss nair13-Jul-04 22:57 
GeneralRe: You Can Also Post Your Openion. Pin
Dave Kreskowiak14-Jul-04 8:28
mveDave Kreskowiak14-Jul-04 8:28 
GeneralA question about Image of PictureBox Pin
Member 94012513-Jul-04 21:47
Member 94012513-Jul-04 21:47 
GeneralRe: A question about Image of PictureBox Pin
Heath Stewart14-Jul-04 5:32
protectorHeath Stewart14-Jul-04 5:32 
GeneralCheckin dynamically added elements Pin
saud_a_k13-Jul-04 20:53
saud_a_k13-Jul-04 20:53 
GeneralRe: Checkin dynamically added elements Pin
Jay Shankar13-Jul-04 22:24
Jay Shankar13-Jul-04 22:24 
GeneralRe: Checkin dynamically added elements Pin
saud_a_k13-Jul-04 23:05
saud_a_k13-Jul-04 23:05 
GeneralRe: Checkin dynamically added elements Pin
mav.northwind13-Jul-04 23:51
mav.northwind13-Jul-04 23:51 
GeneralRe: Checkin dynamically added elements Pin
Jay Shankar14-Jul-04 14:33
Jay Shankar14-Jul-04 14:33 
GeneralRe: Checkin dynamically added elements Pin
mav.northwind14-Jul-04 20:05
mav.northwind14-Jul-04 20:05 
GeneralDetermining RightToLeft Property Pin
13-Jul-04 20:50
suss13-Jul-04 20:50 
QuestionWhat's the difference ? Pin
PShweta13-Jul-04 19:45
PShweta13-Jul-04 19:45 
AnswerRe: What's the difference ? Pin
Roman Rodov13-Jul-04 20:00
Roman Rodov13-Jul-04 20:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.