473,944 Members | 7,636 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to know what window does a pointer specify on ???

Using GetWindow(WinAP I) I get a pointer to the title bar ( IntPtr type). How
I must know on what control he specifies in my app on WinForms. For example
how to know the name of control or title bar.

http://www.alvas.net - Audio tools for C# and VB.Net developers
Jun 27 '08 #1
1 827
"Alexander Vasilevsky" <ma**@alvas.net schrieb:
Using GetWindow(WinAP I) I get a pointer to the title bar ( IntPtr type).
How I must know on what control he specifies in my app on WinForms. For
example how to know the name of control or title bar.
You may want to use 'Control.FromHa ndle' if the window handle belongs to
your application (process).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
3283
by: angel | last post by:
Hi I want python(win32com) to open a new IE window. Source is: /******/ import win32com.client msie = win32com.client.Dispatch("InternetExplorer.Application") msie.Visible = 1 msie.Naviagte(http://www.python.org) /******/
2
1786
by: Matt | last post by:
I have a page1.asp that opens a window called page2.asp. I want page2.asp doesn't have title bar, tool bar, address bar. Is it possible to specify in javascript function window_onload() in page2.asp? I don't want to specify in window.open() in page1.asp when it loads page2.asp. <script type="text/javascript"> function window_onload() {
6
12187
by: lukeo | last post by:
I'm shelling out to an .asp (or htm) page from an application. I want to show this in a window without the address bar, etc... Is there a way I can redirect this page using javascript to a page where I can set the window height, statusbar=no, etc? Thanks, -Luke
4
651
by: Phillip Parr | last post by:
Hello, I have a nice system where someone clicks on a picture to show the full version. This pops up in a window.open box. It works great, the only problem is that if the user clicks a second picture before closing the first then the new picture loads into the original popup box which is often a different size. How can i make them open in their own popup windows? Thanks
2
1391
by: orion30 | last post by:
Is-it possible to write in a mother window from a child window ? Like this: Parent.document.write(............................................)
17
1859
by: Geoff Cox | last post by:
Hello, Can I use JavaScript to force a maximised window ? Thanks
24
3855
by: David Mathog | last post by:
If this: int i,sum; int *array; for(sum=0, i=0; i<len; i++){ sum += array; } is converted to this (never mind why for the moment):
37
4037
by: jht5945 | last post by:
For example I wrote a function: function Func() { // do something } we can call it like: var obj = new Func(); // call it as a constructor or var result = Func(); // call it as a function
9
1315
by: DaemonCoder | last post by:
I am trying to create a structure. reads a name and stores it to a variable in the structure and then print it. Sounds simple enough. Look at the ouput i got. I am so lost its not even funny... E:\COMMAN~1>gcc st.c -o st.exe -std=c99 E:\COMMAN~1>st on NTVDM, specify an inval on NTVDM, specify an inval Name: on NTVDM, specify an inval Name: on NTVDM, specify an inval
0
9971
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11134
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
11307
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
10673
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...
1
8236
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6313
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4920
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4516
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3518
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.