Click here to Skip to main content
15,921,463 members
Home / Discussions / C#
   

C#

 
QuestionOutof memory exception creating a thumbnail Pin
Mycroft Holmes31-Mar-10 1:21
professionalMycroft Holmes31-Mar-10 1:21 
AnswerRe: Outof memory exception creating a thumbnail Pin
Luc Pattyn31-Mar-10 1:58
sitebuilderLuc Pattyn31-Mar-10 1:58 
GeneralRe: Outof memory exception creating a thumbnail Pin
Bernhard Hiller31-Mar-10 2:19
Bernhard Hiller31-Mar-10 2:19 
GeneralRe: Outof memory exception creating a thumbnail Pin
Luc Pattyn31-Mar-10 2:28
sitebuilderLuc Pattyn31-Mar-10 2:28 
GeneralRe: Outof memory exception creating a thumbnail Pin
Mycroft Holmes31-Mar-10 12:09
professionalMycroft Holmes31-Mar-10 12:09 
GeneralRe: Outof memory exception creating a thumbnail Pin
Luc Pattyn31-Mar-10 12:29
sitebuilderLuc Pattyn31-Mar-10 12:29 
GeneralRe: Outof memory exception creating a thumbnail Pin
Mycroft Holmes31-Mar-10 12:58
professionalMycroft Holmes31-Mar-10 12:58 
QuestionPointToScreen and multiple monitors Pin
vlasto7731-Mar-10 1:18
vlasto7731-Mar-10 1:18 
Hello,

I'm having troubles with Control.PointToScreen Method. I need to move mouse over controls center and then click on it. I am doing something like this:

<br />
// convert point to screen coordinates and click at this position<br />
Point aP = theControl.PointToScreen(new Point(theControl.Width / 2, theControl.Height / 2));<br />
MouseClick(aP);


I have two monitors. When I select as primary monitor first one, it works fine. Mouse is moved correctly over center of control and clicked. When I select as primary monitor second one, mouse is not moved to the center of control, but elsewhere in the form. I need to have the same behavior on the both screens. Does anybody know what is the problem here?


Thanks in advance,
noIdea77
AnswerRe: PointToScreen and multiple monitors Pin
V.31-Mar-10 3:03
professionalV.31-Mar-10 3:03 
GeneralRe: PointToScreen and multiple monitors Pin
vlasto7731-Mar-10 3:14
vlasto7731-Mar-10 3:14 
GeneralRe: PointToScreen and multiple monitors Pin
V.31-Mar-10 3:26
professionalV.31-Mar-10 3:26 
QuestionHow to Save/Store non serializable objects Pin
Anindya Chatterjee31-Mar-10 1:06
Anindya Chatterjee31-Mar-10 1:06 
AnswerRe: d How to Save/Store non serializable objects Pin
Keith Barrow31-Mar-10 1:17
professionalKeith Barrow31-Mar-10 1:17 
AnswerRe: How to Save/Store non serializable objects Pin
Bernhard Hiller31-Mar-10 2:16
Bernhard Hiller31-Mar-10 2:16 
QuestionThousand Seperator Pin
Sasmi_Office31-Mar-10 0:53
Sasmi_Office31-Mar-10 0:53 
AnswerRe: Thousand Seperator Pin
#realJSOP31-Mar-10 1:50
professional#realJSOP31-Mar-10 1:50 
AnswerRe: Thousand Seperator Pin
Eddy Vluggen31-Mar-10 1:55
professionalEddy Vluggen31-Mar-10 1:55 
QuestionPrevent access to directory Pin
Maddie from Dartford31-Mar-10 0:26
Maddie from Dartford31-Mar-10 0:26 
AnswerRe: Prevent access to directory Pin
Calla31-Mar-10 1:25
Calla31-Mar-10 1:25 
AnswerRe: Prevent access to directory Pin
Maddie from Dartford31-Mar-10 2:12
Maddie from Dartford31-Mar-10 2:12 
GeneralRe: Prevent access to directory Pin
#realJSOP31-Mar-10 2:22
professional#realJSOP31-Mar-10 2:22 
GeneralRe: Prevent access to directory Pin
Maddie from Dartford31-Mar-10 3:02
Maddie from Dartford31-Mar-10 3:02 
GeneralRe: Prevent access to directory Pin
#realJSOP31-Mar-10 11:48
professional#realJSOP31-Mar-10 11:48 
QuestionRe: Prevent access to directory Pin
Calla31-Mar-10 3:10
Calla31-Mar-10 3:10 
AnswerRe: Prevent access to directory Pin
Maddie from Dartford31-Mar-10 5:19
Maddie from Dartford31-Mar-10 5:19 

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.