It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I want to create an application which can copy the tool tip (the tool tips which are shown on the current desktop/window) if I press hot keys. So how can I track whether the current desktop having a tool tip.
First, its not possible to use the Managed.Net API to access windows in other applications so you will have to do somthing a bit different.
I guess you could use the Win32 API to enumerate windows and find those of the class Tooltip_Class32. Then you'd have to read the text on them.
You can enum windows as described on SO here and on PInvoke.net here.
If you limit to just the Tooltip_Class32 then you will only get the tool tip windows.
I'm not sure how windows contructs a tool tip. I'm guessing you can read the text from the tool tip or from some child control window by using the SendMessage API with the WM_GETTEXT message like here.
That should get you started, I've never actually done it myself but it seems feasible.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am trying to catch all messages that receive another program. As I understand I need to use WinApi hooks, specifically WH_MSGFILTER, but I dont know how to install it properly. Can someone show me complete C# program using different WinApi hooks?
Hooks like that require a DLL that can be injected into another process. You cannot write such a DLL in C#, you cannot get the CLR injected. Only the low-level hooks can work, they don't require injection.
Check this project for an alternative. No idea how solid it is btw.
A process hook to another program requires a native dll (except for keyboard and mouse hooks). Can't be done in C#.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
With C#, is it possible to basically take in an activex object and get the data out of it? I have a call queue monitor thats an activex object, and I want to implement an alert system for my team, but I cant figure out how to get the data out of the ActiveX component.
If the component doesn't provide a specific way to do it, then probably not easily. If the data is in controls on the screen (like in a window somewhere) then you can possibly use win32 functionality (FindWindow, GetWindowText, so pInvoke) to locate the controls that have the data. You'd need to use Spy++ to find the controls in the window and determine their Class Name and Window Name to do the FindWindow.
Here's one example from SO:
Capturing data from a window in a closed-source third-party Win32 application
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
This might be very newbie, I am experienced asp.net and c# developer with winforms experience as well.
I wonder what I need to learn to start making windows store app, what new technonologies, languages?
and 2nd question is:
How can I submit applications to the new windows store if its possible now?
thanks
Second question first. Right now, you cannot submit applications to the Windows Store. The OS is still in beta (consumer preview) and the store is not open to everyone.
There are many ways to program on Windows 8. You can use JavaScript/HTML5 or you can use C#/XAML or C++/XAML. Given your background, you should look into C# as a language with XAML as a UI framework. This is very similar to Silverlight or WPF that you may have run across.
One good place to start is Charles Petzold's upcoming book. It's on sale right now. Another place is on http://dev.windows.com. That will point you at tutorials, reference documentation, and samples.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Now i am currently working on a c# based application.In that application now i am working on design part.i am using visual studio 2008,i want a control like below image
which control is available like above image in visual studio.
i tried treeview.but i can't get the link like above image(here link is blue line).
How to do this?
if you move to some new technologies, most of the new features will available to you.
if you use WPF, you can achieve it. there is much flexibility in UI Decoration in it.
your desired design with custom item icons and colour link
if you use red controls: link
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
i want the ability to create a UI designer (Winforms/WPF/UI/User interface type agnostic).
The requirment is that it should be possible to add properties to a device and it should automatically turn up in the UI.The addition of properties would be via a admin screen.
eg. there is a UI object called Order.It should be possible to add a property called ordersoomething to the order object from the admin screen and it should automatically reflect in the User interface.
i am looking for something that is already available (Open Source/existing stuff etc).
Edit based on a couple if comments.
What i mean by UI agnostic is that i am looking for a architectural pattern. That would fit well.it should not matter if it is Webforms or Silverlight or Winforms.
Regards
David Xavier
Since you tagged this C#, make sure you know about VS LightSwitch
There is a DevExpress Application Frameowrk, something called XAF, see the Developer Express website, it's not for free but not too expensive considering what you are asking, I am not sure if it only targets WindowForms...