By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,330 Members | 1,274 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,330 IT Pros & Developers. It's quick & easy.

InputPanel

P: n/a
JJ
Hi Guys,

I am trying to convert a program from eVB to C# and am stuck with
changing over the PostKeybdMessage API call.
Here is the API call:

public static bool PostKeybdMessage(

HWND hwnd,

UINT VKey,

KEY_STATE_FLAGS KeyStateFlags,

UINT cCharacters,

UINT* pShiftStateBuffer,

UINT* pCharacterBuffer

);

What is the equivalent for a VB long (UINT in C++) to a C# data type ?
What is the proper way to get a handle to a window in C#?

Also how do u show a hex number in c#? in VB its &H1 whats the equivalent in
C#?

Thanks,

JJ


Nov 13 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.