Featured post
winforms - Changing Tabs in a Tab Control does not send Child a Message -
in c# windows forms application using framework 2.x, clicking on tab control not send message child controls (such lost focus event). using microsoft spy++, not see messages sent child control. messages when click on tab hosting control.
any ideas on need have child control know not displayed after tab changed. code in control, not parent. guessing missing out on event or registration.
thanks in advance,
craig
i guessing missing out on event or registration.
i don't think are.
the lost focus event since happens before page changes.
the child control's visiblechanged event fires when parent tabpage shown , not when hidden not want.
you can handle either tabpage.visiblechanged or tabcontrol.selectedindexchanged. of course parent not child, not want.
incidently believe tcm_setcursel message sent control on tab change (again not helping "not in parent requriement"
- Get link
- X
- Other Apps
Comments
Post a Comment