Click here to Skip to main content
15,922,145 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to get MSIHANDLE Pin
0x3c016-Mar-09 22:03
0x3c016-Mar-09 22:03 
QuestionAbsolute coordinates of a control or relative coordinates of the mouse Pin
User 58385216-Mar-09 17:01
User 58385216-Mar-09 17:01 
I have a little app that will resize its main form when data is loaded. Sometimes I need to move the form so it remains entirely visible on the screen.

If the mouse cursor happens to be over a particular control when that happens I would like to move the mouse cursor so its position relative to the top left of that control remains constant. I can only seem to get the mouse location relative to the top left of the screen and I can only seem to get the control position relative to the top left of its parent.

Back in my MFC days there were two methods ClientToScreen and ScreenToClient that would convert between positions relative to the top left of screen and top left of the controls client area. Is there an equivalent in dot net?
AnswerRe: Absolute coordinates of a control or relative coordinates of the mouse Pin
Christian Graus16-Mar-09 18:54
protectorChristian Graus16-Mar-09 18:54 
Questionupdate server DB from local Dataset via XML Pin
dingo1416-Mar-09 15:58
dingo1416-Mar-09 15:58 
AnswerRe: update server DB from local Dataset via XML Pin
Xmen Real 16-Mar-09 16:16
professional Xmen Real 16-Mar-09 16:16 
GeneralRe: update server DB from local Dataset via XML Pin
dingo1416-Mar-09 16:43
dingo1416-Mar-09 16:43 
GeneralRe: update server DB from local Dataset via XML Pin
Xmen Real 16-Mar-09 22:47
professional Xmen Real 16-Mar-09 22:47 
AnswerRe: update server DB from local Dataset via XML Pin
dingo1417-Mar-09 9:01
dingo1417-Mar-09 9:01 
QuestionChange my O2 Zinc to COM Port Pin
Aghosh Babu16-Mar-09 15:25
Aghosh Babu16-Mar-09 15:25 
QuestionDSOFile Problem.....??? (Summery Info) [modified] Pin
S K Y16-Mar-09 15:04
S K Y16-Mar-09 15:04 
AnswerRe: DSOFile Problem.....??? (Summery Info) Pin
Mycroft Holmes16-Mar-09 15:56
professionalMycroft Holmes16-Mar-09 15:56 
QuestionThreading Question - Object in AsyncCompletedEventArgs Pin
Jammer16-Mar-09 14:05
Jammer16-Mar-09 14:05 
QuestionButton to scroll MDI Parent FOrm [modified] Pin
jameschristianii16-Mar-09 11:54
jameschristianii16-Mar-09 11:54 
QuestionObject Wrapping and Event Subscription Pin
Jammer16-Mar-09 11:28
Jammer16-Mar-09 11:28 
AnswerRe: Object Wrapping and Event Subscription Pin
Christian Graus16-Mar-09 12:37
protectorChristian Graus16-Mar-09 12:37 
GeneralRe: Object Wrapping and Event Subscription Pin
Jammer16-Mar-09 12:41
Jammer16-Mar-09 12:41 
AnswerRe: Object Wrapping and Event Subscription Pin
DaveyM6916-Mar-09 12:49
professionalDaveyM6916-Mar-09 12:49 
QuestionHow to Refreash an array list Pin
soulidentities16-Mar-09 7:40
soulidentities16-Mar-09 7:40 
AnswerRe: How to Refreash an array list Pin
0x3c016-Mar-09 7:46
0x3c016-Mar-09 7:46 
GeneralRe: How to Refreash an array list Pin
soulidentities16-Mar-09 8:01
soulidentities16-Mar-09 8:01 
AnswerRe: How to Refreash an array list Pin
Mohammad Dayyan16-Mar-09 9:44
Mohammad Dayyan16-Mar-09 9:44 
AnswerRe: How to Refreash an array list Pin
S K Y16-Mar-09 15:09
S K Y16-Mar-09 15:09 
QuestionC# and Excel Pin
su_penguin16-Mar-09 6:42
su_penguin16-Mar-09 6:42 
AnswerRe: C# and Excel Pin
Jimmanuel16-Mar-09 6:58
Jimmanuel16-Mar-09 6:58 
GeneralRe: C# and Excel Pin
su_penguin16-Mar-09 7:01
su_penguin16-Mar-09 7:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.