From: Mat M. <mm...@em...> - 2006-01-05 02:06:38
|
> -----Original Message----- > From: ado...@li... > [mailto:ado...@li...] On > Behalf Of Thomas Witt > Sent: Tuesday, January 03, 2006 8:46 PM > To: ado...@li... > Subject: [Adobe-source-devel] group nesting issues windows > > > Hi, > > attached are sheets that demonstrate what I think are nesting > issues with the group widget on Windows. On Windows XP the > nested group uses a bigger font for the group name and the > overlay displays as one black block. Hi Thomas, I spent a bit of time looking into this today to see if I could fix it for the the upcoming release. The presence of the overlay group is definitely interfering with the proper drawing of the panel/static-text. As you probably know, groups are implemented as buttons in the Win32 API. Worse yet, groups seem to prevent messages from being passed between child<->parent. In the last release I trapped the group window_proc to propagate messages, but perhaps I didn't go far enough? I ran Begin with your group.* files and with a modified version that set Overlay to a row instead of a group. Drawing worked fine in the latter but as you point out, a black box is drawn in the first case. Interestingly, a Spy++ capture shows WM_GETTEXT and WM_PAINT messages in each case. As a result, I am working with the idea that the text is getting drawn, but something additional is getting drawn/erased and obscuring the text in the group case. I am just coming up to speed on Win32 API programming, so I welcome any suggestions at this point. - Mat |