473,387 Members | 1,619 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

ClientToScreen

Lou
How do I get the ClientToScreen area of a control.
-Louie
Nov 21 '05 #1
3 4210
Lou,

I think that you would have to explain this more to get an answer that is
reasonable. Giving you this link helps you in my opinion nothing.

http://msdn.microsoft.com/library/de...tsizetopic.asp

I hope this helps anyhow.

Cor
Nov 21 '05 #2
Lou
I have a control that does not have a drag/drop event, so i need to know
when, if the mouse is over that particular control which is a child control
of a Tabcontrol, so If i can find the screen coordinates of the control, I'm
good to go.
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:OF*************@TK2MSFTNGP11.phx.gbl...
Lou,

I think that you would have to explain this more to get an answer that is
reasonable. Giving you this link helps you in my opinion nothing.

http://msdn.microsoft.com/library/de...tsizetopic.asp

I hope this helps anyhow.

Cor

Nov 21 '05 #3
Lou,

Than you can in my opinion use the link I gave you.

Although easier is the mouseenter and the mousehoover event while setting a
switch after a mouse downevent.

http://msdn.microsoft.com/library/de...entertopic.asp

Have a look as well to this sample on our website where this kind of code is
used

http://www.windowsformsdatagridhelp....8-a2eda88e06ee

I hope this helps,

Cor

Nov 21 '05 #4

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

Similar topics

1
by: Henk ten Bos | last post by:
Hi All, consider the following situation: I have a form that contains an image. I would like to show a second form where at startup the top left corner of this second form is positioned exactly...
7
by: Kate | last post by:
Hi: I have a form with a picture box and some command buttons to make certain shapes appear in the picture box. The shapes are drawn on blank UserControls added like this: 'at top of form...
5
by: Daniel Bickett | last post by:
I'm very near finishing a medium to large scale application, so I'm getting a head start on the GUI side of things. Part of the concept is to give as much attention to presentation as...
6
by: kurotsuke | last post by:
Hi, I need to know the position (X, Y cohordinates) of the caret. I'm using the function: private static extern int GetCaretPos(ref POINT lpPoint); I'm actually getting a result but I...
0
by: insomniac | last post by:
-- I need to get the screen coordinates of a Window, to then use MoveWindow to make it bigger, keeping the same position. CRect rect; GetActiveWindow()->ClientToScreen(rect); MoveWindow...
2
by: shalender verma | last post by:
Hello All I am using VB 6. I am trying to get the text in the tittle bar of the window i click by using GetWindowText API function but its not working. Here is the code i am using:- Private...
8
by: **Developer** | last post by:
Open some dialog boxes and the mouse cursor moves to one of the dialog buttons. I'd like to implement that . Is that simply something I have to program, i.e. figure out where I want the cursor...
2
by: Dave King | last post by:
Hi All- I'm trying to customize this project ( http://www.codeproject.com/shell/IEMenuButton.asp ) and I'm getting an access voilation and was hoping somebody would be able to give me some idea...
3
by: analfabete | last post by:
Hi everybody ! When I move my windows's program, this windows can leave the screen like all program. But me, I would like to know how I can do to always keep all part of my windows (when I move...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...

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.