Click here to Skip to main content
15,907,392 members
Home / Discussions / C#
   

C#

 
GeneralRe: serial port Pin
Dave Kreskowiak9-Jun-04 11:59
mveDave Kreskowiak9-Jun-04 11:59 
GeneralRe: serial port Pin
quilkin10-Jun-04 5:21
quilkin10-Jun-04 5:21 
GeneralRe: serial port Pin
surgeproof10-Jun-04 5:29
surgeproof10-Jun-04 5:29 
GeneralUnhandled Exceptions Pin
Flack9-Jun-04 9:54
Flack9-Jun-04 9:54 
GeneralRe: Unhandled Exceptions Pin
Heath Stewart9-Jun-04 10:35
protectorHeath Stewart9-Jun-04 10:35 
GeneralMDI Child focus problem when button is disabled Pin
rlacatus9-Jun-04 9:13
rlacatus9-Jun-04 9:13 
GeneralRe: MDI Child focus problem when button is disabled Pin
link_799-Jun-04 9:26
link_799-Jun-04 9:26 
GeneralRe: MDI Child focus problem when button is disabled Pin
rlacatus9-Jun-04 11:19
rlacatus9-Jun-04 11:19 
Hello,

"+ Is the button that is being disabled on the active form or another form?"
A: The button is found on the same panel in the MDIParent as the button that is being clicked when it is disabled.

"+ Also you say the code jumps out of the onclick handler, did you mean focus only but code executes fine."
A: The code after the ( Button.Enable = false; ) line is not executed - I found out through MessageBox.Show() that it is the last line executed, after which the focus shifts to another form and the OnMDIChildActivate() code is executed. And, I might add, there is plenty of code after that last line...

I'm thinking that to find the 'current' mdi form window may take lots of work for every button event and such. I'm thinking more along the lines of having to create a custom button out of images as it doesn't seem to have the "jumping focus" for anything but the buttons.

More suggestions are welcome - and no matter what I do for a solution, I would still like to find an explanation...

Remus
GeneralWM_NCLBUTTONUP Pin
Guinness4Strength9-Jun-04 9:08
Guinness4Strength9-Jun-04 9:08 
GeneralRe: WM_NCLBUTTONUP Pin
Dave Kreskowiak9-Jun-04 9:49
mveDave Kreskowiak9-Jun-04 9:49 
GeneralRe: WM_NCLBUTTONUP Pin
Guinness4Strength9-Jun-04 11:04
Guinness4Strength9-Jun-04 11:04 
GeneralRe: WM_NCLBUTTONUP Pin
Dave Kreskowiak9-Jun-04 11:51
mveDave Kreskowiak9-Jun-04 11:51 
GeneralColumnChanging event on Dataset Pin
C#Coder679-Jun-04 7:50
C#Coder679-Jun-04 7:50 
GeneralRe: ColumnChanging event on Dataset Pin
link_799-Jun-04 9:16
link_799-Jun-04 9:16 
GeneralWan x Lan Pin
crisyuri9-Jun-04 7:08
crisyuri9-Jun-04 7:08 
GeneralRe: Wan x Lan Pin
Dave Kreskowiak9-Jun-04 9:37
mveDave Kreskowiak9-Jun-04 9:37 
GeneralWindows Forms Question Pin
OMalleyW9-Jun-04 6:15
OMalleyW9-Jun-04 6:15 
GeneralRe: Windows Forms Question Pin
Michael Potter9-Jun-04 6:24
Michael Potter9-Jun-04 6:24 
GeneralRe: Windows Forms Question Pin
OMalleyW9-Jun-04 7:49
OMalleyW9-Jun-04 7:49 
GeneralRe: Windows Forms Question Pin
Michael Potter10-Jun-04 4:08
Michael Potter10-Jun-04 4:08 
GeneralRe: Windows Forms Question Pin
Heath Stewart9-Jun-04 8:29
protectorHeath Stewart9-Jun-04 8:29 
Generaldatagrid, datatable adding new rows Pin
HappyPaws9-Jun-04 6:02
HappyPaws9-Jun-04 6:02 
GeneralRe: datagrid, datatable adding new rows Pin
Heath Stewart9-Jun-04 6:07
protectorHeath Stewart9-Jun-04 6:07 
GeneralRe: datagrid, datatable adding new rows Pin
HappyPaws9-Jun-04 8:22
HappyPaws9-Jun-04 8:22 
GeneralRe: datagrid, datatable adding new rows Pin
Heath Stewart9-Jun-04 8:31
protectorHeath Stewart9-Jun-04 8:31 

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.