Click here to Skip to main content
15,900,110 members
Home / Discussions / C#
   

C#

 
GeneralRe: integrate context menu with shell Pin
Dave Kreskowiak19-Jul-04 15:24
mveDave Kreskowiak19-Jul-04 15:24 
GeneralRichTextBox Question Pin
bneacetp19-Jul-04 9:44
bneacetp19-Jul-04 9:44 
GeneralRe: RichTextBox Question Pin
leppie19-Jul-04 11:12
leppie19-Jul-04 11:12 
GeneralRe: RichTextBox Question Pin
Heath Stewart19-Jul-04 11:31
protectorHeath Stewart19-Jul-04 11:31 
GeneralRe: RichTextBox Question Pin
bneacetp19-Jul-04 11:40
bneacetp19-Jul-04 11:40 
GeneralPrint button with SSRS Pin
clydeJones19-Jul-04 8:51
clydeJones19-Jul-04 8:51 
GeneralDynamic Help Using HtmlHelp API and COM Interfaces Pin
JimmyG1319-Jul-04 7:57
JimmyG1319-Jul-04 7:57 
GeneralKeyDown event is not firing while draging node on treeview Pin
god4k19-Jul-04 6:51
god4k19-Jul-04 6:51 
Dear, Sir and Madam

Please see the code below.

bool bCtrl = false;
private void treeView1_KeyDown(object sender, KeyEventArgs e)
{
bCtrl = e.Control;
this.Text= bCtrl.ToString();
}

private void treeView1_KeyUp(object sender, KeyEventArgs e)
{
bCtrl = e.Control;
this.Text= bCtrl.ToString();
}

private void treeView1_ItemDrag(object sender, System.Windows.Forms.ItemDragEventArgs e)
{
if(bCtrl)
DoDragDrop(e.Item, DragDropEffects.Copy);
else
DoDragDrop(e.Item, DragDropEffects.Move);
}

While I dragging item(node) why the KeyDown event is not fire?
How to solve this problem?

Sorry for bad English.
Thank You.
GeneralRe: KeyDown event is not firing while draging node on treeview Pin
leppie19-Jul-04 6:59
leppie19-Jul-04 6:59 
GeneralRe: KeyDown event is not firing while draging node on treeview Pin
Heath Stewart19-Jul-04 9:10
protectorHeath Stewart19-Jul-04 9:10 
GeneralReturning a filtered DataTable Pin
Andy H19-Jul-04 6:44
Andy H19-Jul-04 6:44 
GeneralRe: Returning a filtered DataTable Pin
Werdna19-Jul-04 8:58
Werdna19-Jul-04 8:58 
GeneralRe: Returning a filtered DataTable Pin
Heath Stewart19-Jul-04 9:04
protectorHeath Stewart19-Jul-04 9:04 
GeneralRe: Returning a filtered DataTable Pin
Andy H19-Jul-04 22:40
Andy H19-Jul-04 22:40 
Generalfunction usage in a .config file Pin
Ryan@Salamandertechnologies.com19-Jul-04 6:39
sussRyan@Salamandertechnologies.com19-Jul-04 6:39 
GeneralRe: function usage in a .config file Pin
Heath Stewart19-Jul-04 8:38
protectorHeath Stewart19-Jul-04 8:38 
GeneralRe: function usage in a .config file Pin
RB@Emphasys19-Jul-04 9:02
RB@Emphasys19-Jul-04 9:02 
GeneralRe: function usage in a .config file Pin
Heath Stewart19-Jul-04 9:07
protectorHeath Stewart19-Jul-04 9:07 
GeneralRe: function usage in a .config file Pin
Andy Brummer19-Jul-04 9:12
sitebuilderAndy Brummer19-Jul-04 9:12 
GeneralRe: function usage in a .config file Pin
RB@Emphasys19-Jul-04 9:48
RB@Emphasys19-Jul-04 9:48 
GeneralApplicationException VS Exception Pin
Gimpy198319-Jul-04 5:00
Gimpy198319-Jul-04 5:00 
GeneralRe: ApplicationException VS Exception Pin
Heath Stewart19-Jul-04 5:30
protectorHeath Stewart19-Jul-04 5:30 
GeneralCalled but not executed :confused: Pin
Gimpy198319-Jul-04 4:54
Gimpy198319-Jul-04 4:54 
GeneralRe: Called but not executed :confused: Pin
Heath Stewart19-Jul-04 5:35
protectorHeath Stewart19-Jul-04 5:35 
GeneralRe: Called but not executed :confused: Pin
Gimpy198319-Jul-04 9:27
Gimpy198319-Jul-04 9:27 

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.