Click here to Skip to main content
15,888,454 members
Home / Discussions / C#
   

C#

 
AnswerRe: Application Settings File: Folder Location Pin
S. Senthil Kumar3-Nov-05 0:38
S. Senthil Kumar3-Nov-05 0:38 
AnswerRe: Application Settings File: Folder Location Pin
André Ziegler3-Nov-05 1:57
André Ziegler3-Nov-05 1:57 
QuestionRe: Application Settings File: Folder Location Pin
M-20003-Nov-05 19:59
M-20003-Nov-05 19:59 
AnswerRe: Application Settings File: Folder Location Pin
M-20004-Nov-05 0:40
M-20004-Nov-05 0:40 
GeneralRe: Application Settings File: Folder Location Pin
André Ziegler4-Nov-05 3:32
André Ziegler4-Nov-05 3:32 
QuestionCustom control including several controls Pin
smoitry2-Nov-05 22:23
smoitry2-Nov-05 22:23 
AnswerRe: Custom control including several controls Pin
smoitry2-Nov-05 23:22
smoitry2-Nov-05 23:22 
Questionproblem calling a P/Invoke Pin
jtmtv182-Nov-05 22:19
jtmtv182-Nov-05 22:19 
Im trying to call the function ChildWindowFromPoint but it seems that it always asumes the Parent window is in the Upperleft hand corner, meaning even if the parent form is in the lower right it wont find the child control until i click around in the area in the upper left hand corner. Its all a little hard to describe here but in anycase ill include the code on how im calling the function. Im using global mouse cords, with the upper left of the screen being 0,0.

[DllImport("User32")]
public static extern IntPtr ChildWindowFromPoint(int handle, int x,int y );


int chihan = (int)Form1.ChildWindowFromPoint(handle,e.X,e.Y);
//show if it found a pointer
MessageBox.Show(chihan.ToString());
//try to display the window text of the child control
StringBuilder s = new StringBuilder(1024);
Form1.GetWindowText(chihan,s,1024);
MessageBox.Show(s.ToString());

I dont know what im doing wrong, i can find the parent control without a problem, reguardless of where it is located on the screen, and im using the same cords as i use in the function above,
Thanks alot for your time

~Jesse
AnswerRe: problem calling a P/Invoke Pin
Joel Lucsy4-Nov-05 9:38
Joel Lucsy4-Nov-05 9:38 
QuestionCrystal Reports Pin
bootn2-Nov-05 19:34
bootn2-Nov-05 19:34 
QuestionSpecified cast is not valid.??? Pin
Natural Cause2-Nov-05 15:56
Natural Cause2-Nov-05 15:56 
AnswerRe: Specified cast is not valid.??? Pin
Judah Gabriel Himango2-Nov-05 16:13
sponsorJudah Gabriel Himango2-Nov-05 16:13 
GeneralRe: Specified cast is not valid.??? Pin
Natural Cause2-Nov-05 16:20
Natural Cause2-Nov-05 16:20 
AnswerRe: Specified cast is not valid.??? Pin
S. Senthil Kumar2-Nov-05 19:02
S. Senthil Kumar2-Nov-05 19:02 
QuestionTab control issues Pin
Christian Graus2-Nov-05 13:32
protectorChristian Graus2-Nov-05 13:32 
AnswerRe: Tab control issues Pin
Judah Gabriel Himango2-Nov-05 16:11
sponsorJudah Gabriel Himango2-Nov-05 16:11 
QuestionRunning Example/Demo Pin
Nkdnt2-Nov-05 13:26
Nkdnt2-Nov-05 13:26 
AnswerRe: Running Example/Demo Pin
Christian Graus2-Nov-05 13:31
protectorChristian Graus2-Nov-05 13:31 
QuestionRe: Running Example/Demo Pin
Nkdnt2-Nov-05 14:21
Nkdnt2-Nov-05 14:21 
AnswerRe: Running Example/Demo Pin
Christian Graus2-Nov-05 14:23
protectorChristian Graus2-Nov-05 14:23 
GeneralRe: Running Example/Demo Pin
Nkdnt2-Nov-05 14:30
Nkdnt2-Nov-05 14:30 
GeneralRe: Running Example/Demo Pin
Christian Graus2-Nov-05 14:35
protectorChristian Graus2-Nov-05 14:35 
QuestionHow do i go about debugging code that runs fine on my PC but not on others? Pin
Red_Wizard_Shot_The_Food2-Nov-05 12:15
Red_Wizard_Shot_The_Food2-Nov-05 12:15 
AnswerRe: How do i go about debugging code that runs fine on my PC but not on others? Pin
Christian Graus2-Nov-05 13:30
protectorChristian Graus2-Nov-05 13:30 
AnswerRe: How do i go about debugging code that runs fine on my PC but not on others? Pin
S. Senthil Kumar2-Nov-05 19:04
S. Senthil Kumar2-Nov-05 19:04 

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.