Click here to Skip to main content
15,867,308 members
Home / Discussions / C#
   

C#

 
Questionc# crystal reports help Pin
lankaudaranga10-Jul-08 18:01
lankaudaranga10-Jul-08 18:01 
AnswerRe: c# crystal reports help Pin
Paul Conrad10-Jul-08 18:41
professionalPaul Conrad10-Jul-08 18:41 
GeneralRe: c# crystal reports help Pin
lankaudaranga10-Jul-08 19:20
lankaudaranga10-Jul-08 19:20 
GeneralRe: c# crystal reports help Pin
Paul Conrad10-Jul-08 19:25
professionalPaul Conrad10-Jul-08 19:25 
AnswerRe: c# crystal reports help Pin
Saiyed Alam10-Jul-08 22:30
Saiyed Alam10-Jul-08 22:30 
Questionpainting object Pin
netJP12L10-Jul-08 13:33
netJP12L10-Jul-08 13:33 
AnswerRe: painting object Pin
Alan Balkany11-Jul-08 9:50
Alan Balkany11-Jul-08 9:50 
QuestionControl Focus for MouseMove Events Pin
greytone810-Jul-08 11:13
professionalgreytone810-Jul-08 11:13 
Hi,

I am implementing a drag/drop system and am having trouble programmatically firing an event such that the control that receives the event remains focused.

For example, if you actually click on a button, and don't release the mouse button all MouseMove events are sent to that button even if you drag your cursor off the control. If you drag off to the left, the button continues to receive mouse events and the X is now negative. This is the desired behavior.

Currently I am firing the MouseDown event on a target control by having a member function that calls OnMouseDown() but this does not lock the focus as described above.

Can someone tell me how to lock the focus programmatically so all mouse events continue to be sent to the targeted control.

Thanks

-David
AnswerRe: Control Focus for MouseMove Events Pin
Luc Pattyn10-Jul-08 12:56
sitebuilderLuc Pattyn10-Jul-08 12:56 
QuestionCopying from a memory structure to a jpg file Pin
SkyhiKeeper10-Jul-08 11:00
SkyhiKeeper10-Jul-08 11:00 
AnswerRe: Copying from a memory structure to a jpg file Pin
half-life10-Jul-08 22:46
half-life10-Jul-08 22:46 
Questionassigning keyboard shortcuts to buttons in a form Pin
danmcb10-Jul-08 10:47
danmcb10-Jul-08 10:47 
AnswerRe: assigning keyboard shortcuts to buttons in a form Pin
Luc Pattyn10-Jul-08 12:59
sitebuilderLuc Pattyn10-Jul-08 12:59 
AnswerRe: assigning keyboard shortcuts to buttons in a form Pin
Nirandas10-Jul-08 19:14
Nirandas10-Jul-08 19:14 
QuestionSaving/Loading an image to/from xml Pin
Justin Time10-Jul-08 10:43
Justin Time10-Jul-08 10:43 
QuestionRetreiving available parameters from executables...is it possible? Pin
GreatBarrier8610-Jul-08 9:57
GreatBarrier8610-Jul-08 9:57 
AnswerRe: Retreiving available parameters from executables...is it possible? Pin
Thomas Stockwell10-Jul-08 10:31
professionalThomas Stockwell10-Jul-08 10:31 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
GreatBarrier8610-Jul-08 10:41
GreatBarrier8610-Jul-08 10:41 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Thomas Stockwell10-Jul-08 10:54
professionalThomas Stockwell10-Jul-08 10:54 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Joe Woodbury10-Jul-08 16:59
professionalJoe Woodbury10-Jul-08 16:59 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Ashfield10-Jul-08 21:13
Ashfield10-Jul-08 21:13 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Joe Woodbury11-Jul-08 5:14
professionalJoe Woodbury11-Jul-08 5:14 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Ashfield11-Jul-08 9:32
Ashfield11-Jul-08 9:32 
QuestionDataGridView strange Pin
muharrem10-Jul-08 9:18
muharrem10-Jul-08 9:18 
AnswerRe: DataGridView strange Pin
paas10-Jul-08 9:36
paas10-Jul-08 9:36 

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.