Click here to Skip to main content
16,017,235 members
Home / Discussions / C#
   

C#

 
GeneralRe: sockets Pin
surgeproof10-Jun-04 5:27
surgeproof10-Jun-04 5:27 
Generalserial port Pin
surgeproof9-Jun-04 10:29
surgeproof9-Jun-04 10:29 
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 
Hello,

I cannot figure out where this problem comes from, so I'm looking for suggestions. In my windows app I have multiple MDIs open as well as a panel on the MDI Parent. This panel contains buttons that get disabled ( btn01.Enable = false; ) programmatically when another button is clicked.

I can reproduce this every time:

1. The buttons and labels on this "parent" panel are enabled and populated respectively from the OnMDIChildActivate() event.
2. When a button is clicked, another button is disabled. Due to that last event the active MDI child changes to the first one opened rather than to continue with the code in the function being processed (the onClick event handler).

Note: There is no event handler for the "disable button" event.
Note: The OnMDIChildActivate() event takes a DataSet from the MDI Child which it uses to populate the panel.

Any suggestions?

Thanks,

Remus
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 
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 

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.