Click here to Skip to main content
15,899,474 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to pass object between MFC C++ DLL and C# program? Pin
Pete O'Hanlon10-Dec-07 4:27
mvePete O'Hanlon10-Dec-07 4:27 
AnswerRe: How to pass object between MFC C++ DLL and C# program? Pin
Rob Graham10-Dec-07 4:32
Rob Graham10-Dec-07 4:32 
Generalsave file Pin
venky45610-Dec-07 4:12
venky45610-Dec-07 4:12 
GeneralRe: save file Pin
Judah Gabriel Himango10-Dec-07 4:22
sponsorJudah Gabriel Himango10-Dec-07 4:22 
GeneralShow Decimal Data in Label.Text Pin
tr_thorn10-Dec-07 4:10
tr_thorn10-Dec-07 4:10 
GeneralRe: Show Decimal Data in Label.Text Pin
Pete O'Hanlon10-Dec-07 4:28
mvePete O'Hanlon10-Dec-07 4:28 
GeneralRe: Show Decimal Data in Label.Text Pin
tr_thorn10-Dec-07 20:06
tr_thorn10-Dec-07 20:06 
GeneralDataGridView Pin
Member 403999510-Dec-07 3:53
Member 403999510-Dec-07 3:53 
I am using a DataGridView and had to override the ProcessCmdkey and ProcessDialogKey to treat a enter like a tab. Reason being is with this application the user only uses the 10 key. My problem is that I need to validate a cell before moving on and if the validation fails, I need to put the focus back on that cell. I have tried to use the cell validating and several other methods to put the validation code and then used the following code to set the focus. It seems like it sets the focus but then process the tab.

dgvDetails.CurrentCell.Selected = false;
dgvDetails.Rows[e.RowIndex].Cells[e.ColumnIndex].Selected = true;
dgvDetails.CurrentCell = dgvDetails.SelectedCells[0];
GeneralRe: DataGridView Pin
CKnig10-Dec-07 4:06
CKnig10-Dec-07 4:06 
GeneralRe: DataGridView Pin
Member 403999510-Dec-07 5:20
Member 403999510-Dec-07 5:20 
GeneralStatic Constructor Pin
Shubhabrata Mohanty10-Dec-07 3:42
Shubhabrata Mohanty10-Dec-07 3:42 
GeneralRe: Static Constructor Pin
Abhijit Jana10-Dec-07 3:53
professionalAbhijit Jana10-Dec-07 3:53 
GeneralRe: Static Constructor Pin
Skippums10-Dec-07 3:57
Skippums10-Dec-07 3:57 
GeneralMessageBox in Web Forms Pin
Imran Adam10-Dec-07 3:11
Imran Adam10-Dec-07 3:11 
GeneralRe: MessageBox in Web Forms Pin
Abhijit Jana10-Dec-07 3:49
professionalAbhijit Jana10-Dec-07 3:49 
GeneralRe: MessageBox in Web Forms Pin
Imran Adam10-Dec-07 9:54
Imran Adam10-Dec-07 9:54 
GeneralRe: MessageBox in Web Forms Pin
Abhijit Jana10-Dec-07 17:59
professionalAbhijit Jana10-Dec-07 17:59 
GeneralMath problem Pin
Mike Hankey10-Dec-07 2:38
mveMike Hankey10-Dec-07 2:38 
GeneralRe: Math problem Pin
Anthony Mushrow10-Dec-07 3:09
professionalAnthony Mushrow10-Dec-07 3:09 
GeneralRe: Math problem Pin
Mike Hankey10-Dec-07 3:55
mveMike Hankey10-Dec-07 3:55 
GeneralRe: Math problem Pin
Luc Pattyn10-Dec-07 3:26
sitebuilderLuc Pattyn10-Dec-07 3:26 
GeneralRe: Math problem Pin
Mike Hankey10-Dec-07 4:04
mveMike Hankey10-Dec-07 4:04 
GeneralRe: Math problem Pin
CKnig10-Dec-07 18:20
CKnig10-Dec-07 18:20 
GeneralRe: Math problem Pin
Mike Hankey11-Dec-07 5:03
mveMike Hankey11-Dec-07 5:03 
GeneralDatatypes conversion [modified] Pin
VK-Cadec10-Dec-07 2:35
VK-Cadec10-Dec-07 2:35 

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.