Click here to Skip to main content
15,888,177 members
Home / Discussions / C#
   

C#

 
AnswerRe: How To Free Memeory of COM object Pin
GDavy23-Apr-07 23:32
GDavy23-Apr-07 23:32 
AnswerRe: How To Free Memeory of COM object Pin
Jimmanuel24-Apr-07 7:13
Jimmanuel24-Apr-07 7:13 
QuestionRichTextBox Right Click Pin
Saikek23-Apr-07 20:25
Saikek23-Apr-07 20:25 
AnswerRe: RichTextBox Right Click Pin
Keshav V. Kamat24-Apr-07 0:00
Keshav V. Kamat24-Apr-07 0:00 
Question[Message Deleted] Pin
7123-Apr-07 19:58
7123-Apr-07 19:58 
AnswerRe: MaskedTextBox Pin
manasram23-Apr-07 20:26
manasram23-Apr-07 20:26 
GeneralRe: MaskedTextBox Pin
manasram23-Apr-07 21:15
manasram23-Apr-07 21:15 
AnswerRe: MaskedTextBox Pin
Patrick Etc.24-Apr-07 6:18
Patrick Etc.24-Apr-07 6:18 
Ew.

Instead of magically showing a masked text box over the cell that has been clicked, you may consider actually creating a masked text box CELL -

This requires creating a column and corresponding cell of your specific control type.

Here is a great tutorial on how to do this, I have used it to create several custom column and cell types:

http://msdn2.microsoft.com/en-us/library/aa730881(vs.80).aspx[^]

Yes, it is more work, but you get 3 things for free:

1. The grid will automatically show the control in the correct place.
2. The control can be databound, meaning it takes care of all the data transactions for you
3. It keeps your business code simpler by not involving the management of temporary text boxes.


------------
Cheers,
Patrick

QuestionMenus at run time [modified] Pin
a_david12323-Apr-07 19:51
a_david12323-Apr-07 19:51 
QuestionExtract ClassName using Regular Expression Pin
nasambur23-Apr-07 19:25
nasambur23-Apr-07 19:25 
QuestionReading a specific word/phrase from a line Pin
zoroyster23-Apr-07 17:25
zoroyster23-Apr-07 17:25 
AnswerRe: Reading a specific word/phrase from a line Pin
Patrick Etc.23-Apr-07 17:31
Patrick Etc.23-Apr-07 17:31 
GeneralRe: Reading a specific word/phrase from a line Pin
xibeifeijian23-Apr-07 18:25
xibeifeijian23-Apr-07 18:25 
GeneralRe: Reading a specific word/phrase from a line Pin
Patrick Etc.23-Apr-07 18:34
Patrick Etc.23-Apr-07 18:34 
GeneralRe: Reading a specific word/phrase from a line Pin
zoroyster23-Apr-07 19:35
zoroyster23-Apr-07 19:35 
GeneralRe: Reading a specific word/phrase from a line Pin
xibeifeijian23-Apr-07 19:44
xibeifeijian23-Apr-07 19:44 
GeneralRe: Reading a specific word/phrase from a line Pin
Patrick Etc.24-Apr-07 6:00
Patrick Etc.24-Apr-07 6:00 
QuestionHow to impose Expire Date on MS Office files? [modified] Pin
sachinkalse23-Apr-07 17:21
sachinkalse23-Apr-07 17:21 
AnswerRe: How to impose Expire Date on MS Office files? Pin
Russell Jones24-Apr-07 0:04
Russell Jones24-Apr-07 0:04 
GeneralRe: How to impose Expire Date on MS Office files? [modified] Pin
sachinkalse13-Jun-07 16:36
sachinkalse13-Jun-07 16:36 
QuestionVery basic help with C++ linker/logic errors Pin
wertyou23-Apr-07 17:05
wertyou23-Apr-07 17:05 
AnswerRe: Very basic help with C++ linker/logic errors Pin
Patrick Etc.23-Apr-07 17:27
Patrick Etc.23-Apr-07 17:27 
GeneralRe: Very basic help with C++ linker/logic errors Pin
wertyou23-Apr-07 17:37
wertyou23-Apr-07 17:37 
GeneralRe: Very basic help with C++ linker/logic errors Pin
Patrick Etc.23-Apr-07 17:45
Patrick Etc.23-Apr-07 17:45 
GeneralRe: Very basic help with C++ linker/logic errors Pin
wertyou23-Apr-07 18:04
wertyou23-Apr-07 18:04 

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.