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

C#

 
GeneralRe: dataGrid - change background color of cell on RUN TIME Pin
Heath Stewart5-Nov-05 12:53
protectorHeath Stewart5-Nov-05 12:53 
GeneralRe: dataGrid - change background color of cell on RUN TIME Pin
dataminers5-Nov-05 13:03
dataminers5-Nov-05 13:03 
GeneralRe: dataGrid - change background color of cell on RUN TIME Pin
Heath Stewart5-Nov-05 13:42
protectorHeath Stewart5-Nov-05 13:42 
QuestionLDAP User management Pin
WillemM5-Nov-05 9:18
WillemM5-Nov-05 9:18 
QuestionC# and .NET Framework Pin
Yevgeny Efter5-Nov-05 9:11
Yevgeny Efter5-Nov-05 9:11 
AnswerRe: C# and .NET Framework Pin
André Ziegler5-Nov-05 9:13
André Ziegler5-Nov-05 9:13 
AnswerRe: C# and .NET Framework Pin
Heath Stewart5-Nov-05 12:36
protectorHeath Stewart5-Nov-05 12:36 
Questionmaking the mouse perform a Drag-Drop with api Pin
jtmtv185-Nov-05 8:25
jtmtv185-Nov-05 8:25 
Im trying to get the mouse to perform a drag and drop using only the api. I can get the mouse to move around and perform clicks for me but the challenge is the drag and drop operation. im trying to store the previous state of the mouse (*ie when it was pressed down*) and then while the previous state==mousedown start dragging and holding it down, until i get a left mouse up message. but i cant get it to work correctly. here is the code im using

Input[] input = new Input[ 1 ];
input[0].type = INPUT.MOUSE;
input[0].mi.dx = x2;
input[0].mi.dy = y2;
//input[0].mi.dwFlags = MOUSEEVENTF.MOVE| MOUSEEVENTF.ABSOLUTE ;
if(prev.wParam==UserActivityHook.WM_LBUTTONDOWN)
{
input[0].mi.dwFlags =MOUSEEVENTF.LEFTDOWN| MOUSEEVENTF.ABSOLUTE;
SendInput( ( UInt32 ) input.Length, input, Marshal.SizeOf( input[ 0 ]) );
Console.WriteLine("test");
}
input[0].mi.dwFlags = MOUSEEVENTF.MOVE| MOUSEEVENTF.ABSOLUTE ;
SendInput( ( UInt32 ) input.Length, input, Marshal.SizeOf( input[ 0 ] ) );

Any ideas? i have been looking around online and will continue to. Thanks alot for your help
QuestionSingle Method With Mutiple Paremeters Pin
budidharma5-Nov-05 7:53
budidharma5-Nov-05 7:53 
AnswerRe: Single Method With Mutiple Paremeters Pin
[Marc]5-Nov-05 8:02
[Marc]5-Nov-05 8:02 
GeneralRe: Single Method With Mutiple Paremeters Pin
budidharma5-Nov-05 8:39
budidharma5-Nov-05 8:39 
GeneralRe: Single Method With Mutiple Paremeters Pin
J4amieC5-Nov-05 10:12
J4amieC5-Nov-05 10:12 
GeneralRe: Single Method With Mutiple Paremeters Pin
leppie5-Nov-05 18:57
leppie5-Nov-05 18:57 
GeneralRe: Single Method With Mutiple Paremeters Pin
J4amieC6-Nov-05 0:25
J4amieC6-Nov-05 0:25 
AnswerRe: Single Method With Mutiple Paremeters Pin
Heath Stewart6-Nov-05 6:01
protectorHeath Stewart6-Nov-05 6:01 
QuestionSystem Tray Icon Update Pin
Coffmans5-Nov-05 6:36
Coffmans5-Nov-05 6:36 
AnswerRe: System Tray Icon Update Pin
Heath Stewart5-Nov-05 12:33
protectorHeath Stewart5-Nov-05 12:33 
GeneralRe: System Tray Icon Update Pin
Coffmans5-Nov-05 13:33
Coffmans5-Nov-05 13:33 
GeneralRe: System Tray Icon Update Pin
Heath Stewart5-Nov-05 13:36
protectorHeath Stewart5-Nov-05 13:36 
QuestionProblems printing Pin
naglbitur5-Nov-05 6:15
naglbitur5-Nov-05 6:15 
AnswerRe: Problems printing Pin
Heath Stewart5-Nov-05 12:00
protectorHeath Stewart5-Nov-05 12:00 
GeneralRe: Problems printing Pin
naglbitur5-Nov-05 21:54
naglbitur5-Nov-05 21:54 
GeneralRe: Problems printing Pin
Heath Stewart6-Nov-05 5:55
protectorHeath Stewart6-Nov-05 5:55 
GeneralRe: Problems printing Pin
naglbitur31-Dec-05 8:02
naglbitur31-Dec-05 8:02 
AnswerRe: Problems printing Pin
Heath Stewart1-Jan-06 10:06
protectorHeath Stewart1-Jan-06 10:06 

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.