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. - 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 :(
7 5024 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
Ah RedSon.... yee of little faith. I have done it. -
[DllImport("coredll.dll")]
-
public static extern bool MoveWindow(IntPtr hwndRequestor, int x, int y, int nwidth, int nHeight, Boolean brepoint);
-
-
[DllImport("coredll.dll")]
-
public static extern IntPtr FindWindow(string lpClassName, string lpWindowName);
-
-
-
private void button1_Click(object sender, EventArgs e)
-
{
-
this.inputPanel1.Enabled = true;
-
IntPtr h = FindWindow("SipWndClass", null);
-
-
//MoveWindow(h, 0, 172, this.Width, 148, false);
-
MoveWindow(h, 0, 240, this.Width, 80, false);
-
}
-
-
private void button2_Click(object sender, EventArgs e)
-
{
-
this.inputPanel1.Enabled = false;
-
}
-
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
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
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.
Heh, its alright. I knew that soon you will understand the ways of the Jedi young padawan.
There is no try.....
Sign in to post your reply or Sign up for a free account.
Similar topics |
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:
|
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...
|
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
|
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...
|
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...
| |
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
|
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';
|
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...
|
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:
|
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...
|
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...
| |
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,...
|
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...
|
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...
|
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();...
|
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...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |