Click here to Skip to main content
15,909,373 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: copy all files from source folder or drive too destination file or drive useing vb 2005 sorry Pin
Member 444478316-Apr-09 16:28
Member 444478316-Apr-09 16:28 
QuestionHow to use digital camera in dual mode using C# program and physically using shutter release button Pin
vsaratkar16-Apr-09 10:41
vsaratkar16-Apr-09 10:41 
AnswerRe: How to use digital camera in dual mode using C# program and physically using shutter release button Pin
Dave Kreskowiak16-Apr-09 12:54
mveDave Kreskowiak16-Apr-09 12:54 
GeneralRe: How to use digital camera in dual mode using C# program and physically using shutter release button Pin
vsaratkar20-Apr-09 2:25
vsaratkar20-Apr-09 2:25 
QuestionDerived PictureBox and OnKeyPress Events Pin
jensph16-Apr-09 9:57
jensph16-Apr-09 9:57 
AnswerRe: Derived PictureBox and OnKeyPress Events Pin
Henry Minute16-Apr-09 12:10
Henry Minute16-Apr-09 12:10 
GeneralRe: Derived PictureBox and OnKeyPress Events Pin
jensph16-Apr-09 12:39
jensph16-Apr-09 12:39 
GeneralRe: Derived PictureBox and OnKeyPress Events Pin
Luc Pattyn16-Apr-09 13:26
sitebuilderLuc Pattyn16-Apr-09 13:26 
Hi,

a PictureBox is a bag of problems as soon as you want it to do more than just show a picture.
It is a Control, and knows about Keyboard events, but these only work when the Control has focus; maybe you never focused it, or it refuses to focus (would make some sense).

I see two solutions:
1. in your derived Control, add a transparant Panel on top of the PB, and let that handle all the user interaction and markup. May be somewhat tricky.
2. drop the PB, just use a Panel, give it a Paint handler and draw the image yourself. That is a matter of a few lines of code and gets rid of all the trouble once and for all.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Avoiding unwanted divs (as in "articles needing approval") with the help of this FireFox add-in


QuestionNGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
dyonik16-Apr-09 3:39
dyonik16-Apr-09 3:39 
AnswerRe: NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
Dave Kreskowiak16-Apr-09 4:27
mveDave Kreskowiak16-Apr-09 4:27 
GeneralRe: NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
dyonik16-Apr-09 4:42
dyonik16-Apr-09 4:42 
GeneralRe: NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
led mike16-Apr-09 5:40
led mike16-Apr-09 5:40 
GeneralRe: NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
Dave Kreskowiak16-Apr-09 6:36
mveDave Kreskowiak16-Apr-09 6:36 
QuestionRe: NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
led mike16-Apr-09 10:13
led mike16-Apr-09 10:13 
AnswerRe: NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
Dave Kreskowiak16-Apr-09 10:31
mveDave Kreskowiak16-Apr-09 10:31 
GeneralRe: NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
led mike16-Apr-09 11:39
led mike16-Apr-09 11:39 
GeneralRe: NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
dyonik16-Apr-09 22:30
dyonik16-Apr-09 22:30 
GeneralRe: NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies Pin
dyonik16-Apr-09 22:28
dyonik16-Apr-09 22:28 
QuestionHow to get the DateTime Format String from a string that represents a datetime value? Pin
JW73816-Apr-09 3:10
JW73816-Apr-09 3:10 
AnswerRe: How to get the DateTime Format String from a string that represents a datetime value? Pin
Dave Kreskowiak16-Apr-09 4:23
mveDave Kreskowiak16-Apr-09 4:23 
GeneralRe: How to get the DateTime Format String from a string that represents a datetime value? Pin
JW73816-Apr-09 5:02
JW73816-Apr-09 5:02 
GeneralRe: How to get the DateTime Format String from a string that represents a datetime value? Pin
Dave Kreskowiak16-Apr-09 6:38
mveDave Kreskowiak16-Apr-09 6:38 
AnswerRe: How to get the DateTime Format String from a string that represents a datetime value? Pin
Luc Pattyn16-Apr-09 6:18
sitebuilderLuc Pattyn16-Apr-09 6:18 
QuestionWindows Setup Project - Copying DLL' and Exe in separate folders Pin
wasifahmad16-Apr-09 2:42
wasifahmad16-Apr-09 2:42 
AnswerRe: Windows Setup Project - Copying DLL' and Exe in separate folders Pin
Dave Kreskowiak16-Apr-09 4:20
mveDave Kreskowiak16-Apr-09 4:20 

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.