|
-
Feb 21st, 2000, 10:46 PM
#1
Thread Starter
Junior Member
what is the way to know the codes for the api
activatekeyboardlayout
e.g
KLF_ACTIVATE
thank you for the help!!!
-
Feb 22nd, 2000, 12:13 PM
#2
Hyperactive Member
If they are not in the API viewer (add-in, ships with afaik all vb versions)
If it's not in there, install Visual C++ and search the headers for the value of the constant. (at least that's the way i do it...)
For your information, this is it:
#define KLF_ACTIVATE 0x00000001
#define KLF_SUBSTITUTE_OK 0x00000002
#define KLF_UNLOADPREVIOUS 0x00000004
#define KLF_REORDER 0x00000008
#if(WINVER >= 0x0400)
#define KLF_REPLACELANG 0x00000010
#define KLF_NOTELLSHELL 0x00000080
#endif /* WINVER >= 0x0400 */
#define KLF_SETFORPROCESS 0x00000100
which translates to:
Const KLF_ACTIVATE = &H1
Const KLF_SUBSTITUTE_OK = &H2
Const KLF_UNLOADPREVIOUS = &H4
Const KLF_REORDER = &H8
#if(WINVER >= &H400)
Const KLF_REPLACELANG = &H10
Const KLF_NOTELLSHELL = &H80
#endif '/* WINVER >= &H400 */
Const KLF_SETFORPROCESS = &H100
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|