Click here to Skip to main content
15,917,059 members
Home / Discussions / C#
   

C#

 
GeneralRe: Unexpected Error : E_UNEXPECTED(0x8000FFFF) Pin
Sifar - 021-Mar-10 19:39
Sifar - 021-Mar-10 19:39 
AnswerRe: Unexpected Error : E_UNEXPECTED(0x8000FFFF) Pin
vinod malla21-Mar-10 19:51
vinod malla21-Mar-10 19:51 
GeneralRe: Unexpected Error : E_UNEXPECTED(0x8000FFFF) Pin
Sifar - 021-Mar-10 19:57
Sifar - 021-Mar-10 19:57 
Questionhelp, i need free extended framework like coolite for windows apps. Pin
kurt1921-Mar-10 16:53
kurt1921-Mar-10 16:53 
AnswerRe: help, i need free extended framework like coolite for windows apps. Pin
Wes Aday21-Mar-10 17:22
professionalWes Aday21-Mar-10 17:22 
GeneralRe: help, i need free extended framework like coolite for windows apps. Pin
kurt1921-Mar-10 17:33
kurt1921-Mar-10 17:33 
AnswerRe: help, i need free extended framework like coolite for windows apps. Pin
dortzur12-Sep-10 1:27
dortzur12-Sep-10 1:27 
QuestionFinding which control triggered an event Pin
la0121-Mar-10 16:37
la0121-Mar-10 16:37 
AnswerRe: Finding which control triggered an event Pin
Mycroft Holmes21-Mar-10 18:00
professionalMycroft Holmes21-Mar-10 18:00 
GeneralRe: Finding which control triggered an event Pin
la0122-Mar-10 10:57
la0122-Mar-10 10:57 
AnswerRe: Finding which control triggered an event Pin
DaveyM6922-Mar-10 0:52
professionalDaveyM6922-Mar-10 0:52 
GeneralRe: Finding which control triggered an event Pin
la0122-Mar-10 10:57
la0122-Mar-10 10:57 
QuestionDatagridview row delete question Pin
kruegersck21-Mar-10 15:53
kruegersck21-Mar-10 15:53 
AnswerRe: Datagridview row delete question Pin
Not Active21-Mar-10 16:18
mentorNot Active21-Mar-10 16:18 
AnswerRe: Datagridview row delete question Pin
vinod malla21-Mar-10 19:55
vinod malla21-Mar-10 19:55 
QuestionHow to play audio files in default player from a mixed-mode CD Pin
radarseraing21-Mar-10 14:01
radarseraing21-Mar-10 14:01 
Questioncrystal report issue Pin
hos_oracle21-Mar-10 3:49
hos_oracle21-Mar-10 3:49 
AnswerRe: crystal report issue Pin
Abhinav S21-Mar-10 4:46
Abhinav S21-Mar-10 4:46 
Questionselecting multiple controls with ctrl key pressed Pin
teknolog12321-Mar-10 3:19
teknolog12321-Mar-10 3:19 
AnswerRe: selecting multiple controls with ctrl key pressed Pin
Not Active21-Mar-10 4:02
mentorNot Active21-Mar-10 4:02 
AnswerRe: selecting multiple controls with ctrl key pressed Pin
Kristian Sixhøj21-Mar-10 4:18
Kristian Sixhøj21-Mar-10 4:18 
AnswerRe: selecting multiple controls with ctrl key pressed Pin
AspDotNetDev21-Mar-10 11:31
protectorAspDotNetDev21-Mar-10 11:31 
GeneralRe: selecting multiple controls with ctrl key pressed Pin
teknolog12322-Mar-10 2:55
teknolog12322-Mar-10 2:55 
GeneralRe: selecting multiple controls with ctrl key pressed Pin
AspDotNetDev22-Mar-10 6:34
protectorAspDotNetDev22-Mar-10 6:34 
AnswerRe: selecting multiple controls with ctrl key pressed Pin
yu-jian21-Mar-10 19:03
yu-jian21-Mar-10 19:03 
I guess that your means is :

When pressing the Ctrl button, click ten controls one by one, then this ten controls will all be selected.

right?


Result:
bool bCtrlPressing = false;

On Key Down event: if Ctrl press then bCtrlPressing is true.
On Key Up event: if Ctrl up then bCtrolPressing is false


On Mouse Down:
if bCtrilPressing is true, add this control to the selecting list.

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.