Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

On Screen Keyboard

Status
Not open for further replies.

TOMBUGGY

Programmer
Oct 4, 2000
36
US
Is there a way to remove the Control Box (- X) from the On Screen Keyboard? Thanks.
 
Not sure what you mean by "Control Box (- X)", are there any options under the Keyboard settings in OSK? Are you talking about the X that closes the window itself?

How to Disable the X (Upper Right Corner) Exit
thread779-914612
 
Yes, I'm talking abiut the X that closes a window. FYI, the three symbols in the upper right corner of a window (Minimize, Window/Full Screen and the X) are commonly called the Control Box.

Thanks for the link but it didn't yield anything.
 
It appears that I can't do anything with respect to modifying the content of the Microsoft On-Screen Keyboard itself. I know how to eliminate the Contol Box on Visual Basic forms and also how to negate the effect of clicking it if it is on a VB form. But, the on-screen keyboard is not a VB form. It is an "as is" form from Microsoft.

When the X button in the Control Box of the on-screen keyboard is clicked it terminates the osk.exe program and removes the keyboard from the screen. From within my VB application I want to disable that action (as well as the action of the Control Box Minimize button that moves the keyboard to the system tray). I also want to remove, or negate the effects of, the keyboard's menu items that would allow an end user to modify the behavior of the keyboard when it is used with my application. That way I can control the operation of the keyboard within my application.

Unless somebody from Microsoft development can tell me how to do these things, it looks like I'll have to go with a 3rd party on-screen keyboard.
 
We've detailed how to disabole the Close button (and the Close option on a window's system menu) on several occassions in forum222 - which is where you seem to have started all your threads on this subject. A keyword search there should find several examples, e.g. thread222-975644
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top