Click here to Skip to main content
15,893,663 members
Home / Discussions / C#
   

C#

 
GeneralRe: Problem loading assembly from byte[] Pin
Helfdane21-Apr-09 3:53
Helfdane21-Apr-09 3:53 
Questionalternative to session use Pin
mudag21-Apr-09 0:00
mudag21-Apr-09 0:00 
AnswerRe: alternative to session use Pin
Le centriste21-Apr-09 1:15
Le centriste21-Apr-09 1:15 
GeneralRe: alternative to session use Pin
Ian McCaul21-Apr-09 4:48
Ian McCaul21-Apr-09 4:48 
GeneralRe: alternative to session use Pin
Le centriste21-Apr-09 5:44
Le centriste21-Apr-09 5:44 
Questionplaying multiple video files using axWindowMediaplayer tool !!! Pin
mist_psycho20-Apr-09 23:19
mist_psycho20-Apr-09 23:19 
AnswerRe: playing multiple video files using axWindowMediaplayer tool !!! Pin
Roman Lerman20-Apr-09 23:57
Roman Lerman20-Apr-09 23:57 
Questioncanvas.Focus does not unfocus textbox Pin
Pauwels Bart20-Apr-09 21:51
Pauwels Bart20-Apr-09 21:51 
Hi,

I have kind of a drawingprogram. I display an image in a canvas and on that canvas with image the user can place multiple custom controls (drawing area's derived from the canvas class) in which the user can draw figures and text. To input the text, I initialize a textbox. When clicking outside the textbox, that textbox must disappear and the text is shown as formatted text (drawingContext.draw) on the control. I do that with textBox.LostFocus and textBox.LostKeyboardFocus.

Problem is that when I click outside the textbox, the textbox does not lose focus! When clicking on the canvas, I use this.focus(). The code when clicking the canvas is called and it passes the focus command but the textbox does not lose focus.

The code to hide the textbox and display the text as formatted text works.

Anybody has an idea? Maybe I missed something in MSDN that I need to do.

Thanks,
Bart
AnswerRe: canvas.Focus does not unfocus textbox Pin
Roman Lerman20-Apr-09 22:35
Roman Lerman20-Apr-09 22:35 
GeneralRe: canvas.Focus does not unfocus textbox Pin
Pauwels Bart20-Apr-09 22:51
Pauwels Bart20-Apr-09 22:51 
Questionwhat does this error mean Pin
benson.misi20-Apr-09 21:47
benson.misi20-Apr-09 21:47 
AnswerRe: what does this error mean Pin
Pete O'Hanlon20-Apr-09 21:51
mvePete O'Hanlon20-Apr-09 21:51 
GeneralRe: what does this error mean Pin
CPallini21-Apr-09 2:11
mveCPallini21-Apr-09 2:11 
GeneralRe: what does this error mean Pin
Pete O'Hanlon21-Apr-09 2:24
mvePete O'Hanlon21-Apr-09 2:24 
AnswerRe: what does this error mean Pin
N a v a n e e t h20-Apr-09 21:52
N a v a n e e t h20-Apr-09 21:52 
QuestionHow to import following C DLL function to C# ? [ I am still waiting .... :( ] [Wating no more :)] Pin
Roman Lerman20-Apr-09 20:53
Roman Lerman20-Apr-09 20:53 
AnswerRe: How to import following C DLL function to C# ? [ I am still waiting .... :( ] Pin
Henry Minute21-Apr-09 1:23
Henry Minute21-Apr-09 1:23 
QuestionHow to get color of pixel at mouse click in live video control Pin
sebogawa20-Apr-09 20:33
sebogawa20-Apr-09 20:33 
AnswerRe: How to get color of pixel at mouse click in live video control Pin
Henry Minute21-Apr-09 1:42
Henry Minute21-Apr-09 1:42 
QuestionRe: How to get color of pixel at mouse click in live video control [modified] Pin
sebogawa21-Apr-09 8:46
sebogawa21-Apr-09 8:46 
QuestionConcurrency violation: the UpdateCommand affected 0 of the expected 1 records [Very Emergency] Pin
hdv21220-Apr-09 19:34
hdv21220-Apr-09 19:34 
AnswerRe: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records [Very Emergency] Pin
Roman Lerman20-Apr-09 22:47
Roman Lerman20-Apr-09 22:47 
GeneralRe: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records [Very Emergency] Pin
hdv21220-Apr-09 23:55
hdv21220-Apr-09 23:55 
GeneralRe: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records [Very Emergency] Pin
Roman Lerman21-Apr-09 0:37
Roman Lerman21-Apr-09 0:37 
GeneralRe: Concurrency violation: the UpdateCommand affected 0 of the expected 1 records [Very Emergency] Pin
hdv21221-Apr-09 1:10
hdv21221-Apr-09 1:10 

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.