Click here to Skip to main content
15,919,500 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Passing a DataTable to a Sub Pin
Dave Kreskowiak2-Jul-07 9:23
mveDave Kreskowiak2-Jul-07 9:23 
GeneralRe: Passing a DataTable to a Sub Pin
HurricaneDan2-Jul-07 10:08
HurricaneDan2-Jul-07 10:08 
GeneralRe: Passing a DataTable to a Sub Pin
Dave Kreskowiak2-Jul-07 10:13
mveDave Kreskowiak2-Jul-07 10:13 
GeneralRe: Passing a DataTable to a Sub Pin
HurricaneDan2-Jul-07 14:41
HurricaneDan2-Jul-07 14:41 
GeneralRe: Passing a DataTable to a Sub Pin
Dave Kreskowiak3-Jul-07 2:01
mveDave Kreskowiak3-Jul-07 2:01 
QuestionGet serial number of monitor Pin
ctlqt122-Jul-07 7:08
ctlqt122-Jul-07 7:08 
AnswerRe: Get serial number of monitor Pin
Dave Kreskowiak2-Jul-07 8:32
mveDave Kreskowiak2-Jul-07 8:32 
QuestionVirtual keyboard window focus and SendMessage. Pin
remarkpk112-Jul-07 6:20
remarkpk112-Jul-07 6:20 
Hi All,

I'm developing an on-screen keyboard using VB.NET and need some advice. Currently, I'm using a few User32 API calls to GetActiveWindow() and SetActiveWindow(). Right now, I've got the active window handle number and using it as follows: SetActiveWindow(8975651603260375040), which seems to work... kind of. The desired window receives the focus but as the user types, the window receiving the focus flickers as my keyboard application sets focus to it just before it sends the keystroke to that window.

The keystroke is indeed sent to that window, but as suggested by another Code Project member, I would like for my keyboard to always keep the focus and then use SendMessage or SendInput to send the key strokes to the desired window that the user had previous selected before they began typing.

I've googled SendMessage, SendInput, etc, and not found many examples that illustrate window focus and how SendMessage actually works in the context of a virtual keyboard.

Any help would be much appreciated!!

Thank! -Patrick
Questionbutton on a datagrid cell Pin
cutequencher2-Jul-07 6:19
cutequencher2-Jul-07 6:19 
AnswerRe: button on a datagrid cell Pin
remarkpk112-Jul-07 6:26
remarkpk112-Jul-07 6:26 
GeneralRe: button on a datagrid cell Pin
cutequencher2-Jul-07 6:29
cutequencher2-Jul-07 6:29 
GeneralRe: button on a datagrid cell Pin
remarkpk112-Jul-07 6:34
remarkpk112-Jul-07 6:34 
QuestionHide a property that isn't overridable... Pin
Nick Rioux2-Jul-07 3:46
Nick Rioux2-Jul-07 3:46 
AnswerRe: Hide a property that isn't overridable... Pin
originSH2-Jul-07 5:07
originSH2-Jul-07 5:07 
GeneralRe: Hide a property that isn't overridable... Pin
Nick Rioux2-Jul-07 5:14
Nick Rioux2-Jul-07 5:14 
GeneralRe: Hide a property that isn't overridable... Pin
originSH2-Jul-07 5:38
originSH2-Jul-07 5:38 
GeneralRe: Hide a property that isn't overridable... Pin
Luc Pattyn2-Jul-07 6:31
sitebuilderLuc Pattyn2-Jul-07 6:31 
GeneralRe: Hide a property that isn't overridable... Pin
originSH2-Jul-07 22:44
originSH2-Jul-07 22:44 
AnswerRe: Hide a property that isn't overridable... [modified] Pin
TwoFaced2-Jul-07 6:41
TwoFaced2-Jul-07 6:41 
QuestionConvert textbox value to Null if no entry in the TextBox vb.net Pin
Vimalsoft(Pty) Ltd2-Jul-07 3:31
professionalVimalsoft(Pty) Ltd2-Jul-07 3:31 
AnswerRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Colin Angus Mackay2-Jul-07 3:38
Colin Angus Mackay2-Jul-07 3:38 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Vimalsoft(Pty) Ltd2-Jul-07 3:49
professionalVimalsoft(Pty) Ltd2-Jul-07 3:49 
AnswerRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Nick Rioux2-Jul-07 4:18
Nick Rioux2-Jul-07 4:18 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net [modified] Pin
Vimalsoft(Pty) Ltd2-Jul-07 4:44
professionalVimalsoft(Pty) Ltd2-Jul-07 4:44 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Nick Rioux2-Jul-07 4:51
Nick Rioux2-Jul-07 4:51 

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.