473,657 Members | 3,021 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hide Inputpanel icon... just show keyboard WM5

markmcgookin
648 Recognized Expert Contributor
being an expert here I hope this stumping me won't dissuade any of you from helping me out.....

I am trying to launch an input panel i.e.

Expand|Select|Wrap|Line Numbers
  1. this.inputPanel1.Enabled = true;
easy.... but as its WM5 it shows the keyboard and the horrid keyboard icon in the middle below it (I have the menu bar disabled)

Is there a simple way to just show the keyboard without showing this... I must have just missed it if there is... as it's 1.00am here and i've been up since 6.00am :(
Jul 17 '08 #1
7 5024
markmcgookin
648 Recognized Expert Contributor
re: last post - http://screencast.com/t/bjbb5sp1b
Jul 18 '08 #2
RedSon
5,000 Recognized Expert Expert
I don't think it can be done in .NET CF..
Jul 18 '08 #3
RedSon
5,000 Recognized Expert Expert
I don't think it can be done in .NET CF..
Nope it can't but you can do it with p/invoke...

http://forums.microsoft.com/msdn/Sho...76586&SiteID=1
Jul 18 '08 #4
markmcgookin
648 Recognized Expert Contributor
Nope it can't but you can do it with p/invoke...

http://forums.microsoft.com/msdn/Sho...76586&SiteID=1
Ah RedSon.... yee of little faith. I have done it.

Expand|Select|Wrap|Line Numbers
  1. [DllImport("coredll.dll")]
  2.         public static extern bool MoveWindow(IntPtr hwndRequestor, int x, int y, int nwidth, int nHeight, Boolean brepoint);
  3.  
  4.         [DllImport("coredll.dll")]
  5.         public static extern IntPtr FindWindow(string lpClassName, string lpWindowName);
  6.  
  7.  
  8.         private void button1_Click(object sender, EventArgs e)
  9.         {
  10.             this.inputPanel1.Enabled = true;
  11.             IntPtr h = FindWindow("SipWndClass", null);
  12.  
  13.             //MoveWindow(h, 0, 172, this.Width, 148, false);
  14.             MoveWindow(h, 0, 240, this.Width, 80, false);
  15.         }
  16.  
  17.         private void button2_Click(object sender, EventArgs e)
  18.         {
  19.             this.inputPanel1.Enabled = false;
  20.         }
  21.  
Took me all day, as I know NOTHING about all this DllImport("core dll.dll") business and dont understand hptrs, but I have got it working and it is 100% FACT :P

I have had help from some other sources http://forums.microsoft.com/MSDN/Sho...95762&SiteID=1 based on a vb project
Jul 18 '08 #5
markmcgookin
648 Recognized Expert Contributor
Just re-read your post... didn't realise you'd offered a solution mate, hence the "ye of little faith comment!"

Must start paying more attention! hehe
Jul 21 '08 #6
RedSon
5,000 Recognized Expert Expert
Just re-read your post... didn't realise you'd offered a solution mate, hence the "ye of little faith comment!"

Must start paying more attention! hehe
Heh, its alright. I knew that soon you will understand the ways of the Jedi young padawan.
Jul 21 '08 #7
markmcgookin
648 Recognized Expert Contributor
Heh, its alright. I knew that soon you will understand the ways of the Jedi young padawan.
There is no try.....
Jul 22 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

10
4643
by: oLE | last post by:
I would like to add some javascript to show/hide a certain row of a table. The first row of the table contain the hyperlink that calls the javascript the second row is the one i want to show/hide with the javascript in a toggle fashion. the problem is a know very little javascript and have become incredibly frustrated because i went ahead thinking it was going to be like C. its not. I know i can use these lines to do the actual work:
2
2310
by: Flo | last post by:
Hello I want to be able to show/hide an application that is running. When i am getting the handles corresponding to an MS Office application (Excel for example), it appears that i get a handle for the Excel MDI application which got MDI children corresponding to the document(s) opened. Therefore, i am able to hide the Excel window and the documents it contains. But there also is a handle corresponding to the button which appears in the...
2
1186
by: AAA | last post by:
Hi, when I mininize my application, the botton panel will always show the inputpanel of my application. How can I make that inputpanel disapper when I mininize my application or when I am in the Today page
4
4385
by: Blaine | last post by:
Does anyone know how I can hide a form from the TaskManager? I've set the ShowInTaskbar to False, but when using Alt-TAB to switch between applications, it appears as a blank icon. I can set it as a SizableToolWindow, but then I no longer have the minimize button on the caption. Is there a way to mimic a (FormBorder) sizable tool window (so it doesn't appear in the tasklist) and still show the Min, Max and Close control buttons? (Or...
4
6547
by: randy1200 | last post by:
I have a Windows application that previously had the company logo "MyCompany.ico" added to the upper left-most corner. The company has since issued a new version of "MyCompany.ico" that looks completely different. I overwrote the old ico file with the new ico file and re-ran the program. I still see the old logo at run-time. I right-clicked the project-> Add Existing Item-> added the new ico file. I set the build action to Embedded...
3
3335
by: Raj Wall | last post by:
Hi, I have an application which, when running, is to be seen only in the system tray as a right-clickable icon. However I want the main Form window itself to immediately disappear without having to be minimized. I have tried putting this.Hide(); in the Load method, but that doesn't work (the form still comes up and needs
2
1388
by: Mel | last post by:
I have a table with two TDs (LHS & RHS), each TD contains a frame full of stuff. on one of the frames (RHS) I have an icon with onClick attached to show/hide LHS. My code goes like this: parent.document.getElementById('LHS').style.display='none';
1
1481
by: traewathen | last post by:
Hello all i am rather new to the whole c # and .net language. my question is in regards to the c# portion of the matter. this is my code block which i have for hiding and unhiding:: private void Form1_KeyDown(object sender, KeyEventArgs e) { if (e.Alt && e.KeyCode.ToString() == "F") { // When the user presses both the 'Alt' key and 'F' key, // KeyPreview is set to...
2
2002
by: jp2group | last post by:
I have a Main Form that hides in the Task Bar Tray as an Icon until one of the Tray Icon's Menu Items is selected. (think of your antivirus program running there) The program starts up fine and shows the main form fine, but once I tell it to hide, it does not want to show back up later. What could my problem be? Here is my code:
0
8384
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8718
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8499
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8601
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7314
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5630
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1937
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1601
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.