Click here to Skip to main content
15,894,343 members
Home / Discussions / C#
   

C#

 
GeneralRe: Find CD-RW Drive Pin
GuyThiebaut22-Dec-07 23:59
professionalGuyThiebaut22-Dec-07 23:59 
GeneralGDI+ when transforming from world coordiate to page coordinate, the image appears vague Pin
followait22-Dec-07 22:02
followait22-Dec-07 22:02 
GeneralRe: GDI+ when transforming from world coordiate to page coordinate, the image appears vague Pin
Yaohui Lee22-Dec-07 23:42
Yaohui Lee22-Dec-07 23:42 
GeneralRe: GDI+ when transforming from world coordiate to page coordinate, the image appears vague Pin
Yaohui Lee22-Dec-07 23:47
Yaohui Lee22-Dec-07 23:47 
GeneralRe: GDI+ when transforming from world coordiate to page coordinate, the image appears vague Pin
followait23-Dec-07 2:38
followait23-Dec-07 2:38 
GeneralRe: GDI+ when transforming from world coordiate to page coordinate, the image appears vague Pin
followait23-Dec-07 5:51
followait23-Dec-07 5:51 
GeneralTableLayoutPanel and Getting a Cell by Mouse position Pin
arefkarimi22-Dec-07 21:10
arefkarimi22-Dec-07 21:10 
GeneralRe: TableLayoutPanel and Getting a Cell by Mouse position Pin
DannyAdler22-Dec-07 22:19
DannyAdler22-Dec-07 22:19 
Hi there,

What I would do is to create inside each cell a full-docked control, like an empty label, then on the TableLayoutPanel DragDrop event I'd get the cell by the position of the control:

private void tableLayoutPanel1_DragDrop(object sender, DragEventArgs e)
{
Point p = tableLayoutPanel1.PointToClient(new Point(e.X, e.Y));
Control c = tableLayoutPanel1.GetChildAtPoint(p);
TableLayoutPanelCellPosition cellPos =
tableLayoutPanel1.GetCellPosition(c);
}

Try it, it's working.

The cell that gets the drop is reprisented by cellPos.Row and cellPos.Column


Hope that help.

Danny
GeneralRe: TableLayoutPanel and Getting a Cell by Mouse position Pin
Member 185714613-Dec-09 13:56
Member 185714613-Dec-09 13:56 
GeneralRe: TableLayoutPanel and Getting a Cell by Mouse position Pin
User 92714226-May-10 5:57
User 92714226-May-10 5:57 
Generalkey logger for windows Pin
eleateam22-Dec-07 20:58
eleateam22-Dec-07 20:58 
GeneralRe: key logger for windows Pin
Mustafa Ismail Mustafa22-Dec-07 21:09
Mustafa Ismail Mustafa22-Dec-07 21:09 
GeneralRe: key logger for windows Pin
Anthony Mushrow23-Dec-07 0:20
professionalAnthony Mushrow23-Dec-07 0:20 
GeneralRe: key logger for windows Pin
Scott Dorman23-Dec-07 1:38
professionalScott Dorman23-Dec-07 1:38 
GeneralRe: key logger for windows -sorry i didn't explain my self! Pin
eleateam23-Dec-07 1:57
eleateam23-Dec-07 1:57 
GeneralRe: key logger for windows -sorry i didn't explain my self! Pin
darkelv23-Dec-07 2:33
darkelv23-Dec-07 2:33 
GeneralRe: key logger for windows -sorry i didn't explain my self! Pin
eleateam23-Dec-07 2:46
eleateam23-Dec-07 2:46 
GeneralRe: key logger for windows -sorry i didn't explain my self! Pin
Paul Conrad23-Dec-07 6:02
professionalPaul Conrad23-Dec-07 6:02 
GeneralRe: key logger for windows -sorry i didn't explain my self! Pin
GuyThiebaut23-Dec-07 3:08
professionalGuyThiebaut23-Dec-07 3:08 
GeneralRe: key logger for windows -sorry i didn't explain my self! Pin
eleateam23-Dec-07 3:12
eleateam23-Dec-07 3:12 
GeneralRe: key logger for windows -sorry i didn't explain my self! Pin
Dave Kreskowiak23-Dec-07 4:38
mveDave Kreskowiak23-Dec-07 4:38 
GeneralRe: key logger for windows -sorry i didn't explain my self! Pin
eleateam23-Dec-07 9:23
eleateam23-Dec-07 9:23 
QuestionVC# - Draw Image a GIF animation using code Pin
Shailesh Appukuttan22-Dec-07 17:24
Shailesh Appukuttan22-Dec-07 17:24 
GeneralRe: VC# - Draw Image a GIF animation using code Pin
Christian Graus22-Dec-07 18:44
protectorChristian Graus22-Dec-07 18:44 
GeneralRe: VC# - Draw Image a GIF animation using code Pin
Anthony Mushrow23-Dec-07 0:13
professionalAnthony Mushrow23-Dec-07 0: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.