Click here to Skip to main content
15,916,835 members
Home / Discussions / C#
   

C#

 
QuestionPNG transparency over Transparent forms? Pin
lovnin21-Apr-08 17:41
lovnin21-Apr-08 17:41 
GeneralRe: PNG transparency over Transparent forms? Pin
Reelix21-Apr-08 20:36
Reelix21-Apr-08 20:36 
Generalc# service accounts Pin
shwaguy21-Apr-08 17:10
shwaguy21-Apr-08 17:10 
GeneralRe: c# service accounts Pin
shwaguy28-Apr-08 4:46
shwaguy28-Apr-08 4:46 
GeneralGDI+ DrawImage( Image i, Point[] p) NotImplementedException Pin
Riot_starter21-Apr-08 16:24
Riot_starter21-Apr-08 16:24 
GeneralRe: GDI+ DrawImage( Image i, Point[] p) NotImplementedException Pin
Christian Graus21-Apr-08 17:29
protectorChristian Graus21-Apr-08 17:29 
GeneralRe: GDI+ DrawImage( Image i, Point[] p) NotImplementedException Pin
Riot_starter22-Apr-08 3:49
Riot_starter22-Apr-08 3:49 
GeneralHandling a paste into a textbox. Pin
msx2321-Apr-08 13:26
msx2321-Apr-08 13:26 
Hi all. I am trying to modify some code that clears other textboxes on a form when the user starts entry in a textbox.
So I'm handling the KeyDown event of each textbox and clearing the others. But I don't want to clear the other boxes when a CTRL or ALT key is pressed (unless something is pasted into the textbox, which is my problem) so that the user can use shortcuts and such when focused on a textbox.
The code I'm using is:
if (((Control.ModifierKeys & Keys.Alt) != Keys.Alt) &&<br />
                    ((Control.ModifierKeys & Keys.Control) != Keys.Control))<br />
{<br />
//Do event handling work here (clear other textboxes etc.)<br />
}

The problem is that it skips over the stuff it needs to do when a CTRL-V is invoked. How can I handle that while still keeping those CTRL and ALT checks in there.
Thanks for any help.
AnswerRe: Handling a paste into a textbox. Pin
Christian Wikander21-Apr-08 20:37
Christian Wikander21-Apr-08 20:37 
GeneralConditional comparaison Pin
baranils21-Apr-08 12:03
baranils21-Apr-08 12:03 
GeneralRe: Conditional comparaison Pin
Luc Pattyn21-Apr-08 12:08
sitebuilderLuc Pattyn21-Apr-08 12:08 
GeneralRe: Conditional comparaison Pin
baranils21-Apr-08 12:16
baranils21-Apr-08 12:16 
NewsRe: Conditional comparaison Pin
Spacix One21-Apr-08 12:29
Spacix One21-Apr-08 12:29 
GeneralRe: Conditional comparaison Pin
baranils21-Apr-08 12:53
baranils21-Apr-08 12:53 
GeneralRe: Conditional comparaison Pin
Spacix One21-Apr-08 13:41
Spacix One21-Apr-08 13:41 
GeneralRe: Conditional comparaison Pin
baranils21-Apr-08 19:35
baranils21-Apr-08 19:35 
GeneralRe: Conditional comparaison Pin
Spacix One22-Apr-08 2:43
Spacix One22-Apr-08 2:43 
GeneralRe: Conditional comparaison Pin
baranils22-Apr-08 2:51
baranils22-Apr-08 2:51 
GeneralRe: Conditional comparaison Pin
Spacix One22-Apr-08 3:31
Spacix One22-Apr-08 3:31 
GeneralRe: Conditional comparaison Pin
Spacix One21-Apr-08 12:23
Spacix One21-Apr-08 12:23 
Generalbeginners question Pin
NewToAspDotNet21-Apr-08 9:23
NewToAspDotNet21-Apr-08 9:23 
GeneralRe: beginners question Pin
Pete O'Hanlon21-Apr-08 9:31
mvePete O'Hanlon21-Apr-08 9:31 
Generalwrong forum Pin
Luc Pattyn21-Apr-08 10:04
sitebuilderLuc Pattyn21-Apr-08 10:04 
GeneralRe: wrong forum Pin
Pete O'Hanlon21-Apr-08 10:08
mvePete O'Hanlon21-Apr-08 10:08 
GeneralRe: wrong forum Pin
User 665821-Apr-08 10:13
User 665821-Apr-08 10:13 

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.