On October 19, 2003 07:41 pm, Vitaliy Margolen wrote:
Not true. Native uses default tab size of 96.
The minimum size of a tab is at least icon width + 3 if icon is present.
Prior observation that "under Windows, there seems to be a minimum width
of 2x the height for button style tabs" is not true. At least not in Win98.
Brownie points for some conformance tests ... :)
Sunday, October 19, 2003, 10:12:06 PM, you wrote:
On October 19, 2003 07:41 pm, Vitaliy Margolen wrote:
Not true. Native uses default tab size of 96.
The minimum size of a tab is at least icon width + 3 if icon is present.
Prior observation that "under Windows, there seems to be a minimum width
of 2x the height for button style tabs" is not true. At least not in Win98.
I can add to this list: NT pro sp6a, 2k pro sp4, 2k AS sp4, XP sp1, 2003 ES.
Brownie points for some conformance tests ... :)
Do you mean I need to write some test program? I do have one, written in Delphi. I can send it in, or put on the web site and post a link here. Only it's not exactly nice program. Just something to test few things about tab control. Here is the link: http://www.kievinfo.com/Tab_Size.exe and source http://www.kievinfo.com/Tab_size.tar.bz2
On October 20, 2003 01:49 am, Vitaliy Margolen wrote:
Do you mean I need to write some test program? I do have one, written in Delphi. I can send it in, or put on the web site and post a link here. Only it's not exactly nice program. Just something to test few things about tab control. Here is the link: http://www.kievinfo.com/Tab_Size.exe and source http://www.kievinfo.com/Tab_size.tar.bz2
Yes, a test program, but one that's integrated in our testing framework. See any of the dlls/*/tests/*.c files for examples.
Monday, October 20, 2003, 10:13:12 PM, you wrote:
On October 20, 2003 01:49 am, Vitaliy Margolen wrote:
Do you mean I need to write some test program? I do have one, written in Delphi. I can send it in, or put on the web site and post a link here. Only it's not exactly nice program. Just something to test few things about tab control. Here is the link: http://www.kievinfo.com/Tab_Size.exe and source http://www.kievinfo.com/Tab_size.tar.bz2
Yes, a test program, but one that's integrated in our testing framework. See any of the dlls/*/tests/*.c files for examples.
I'm not exactly sure how such a test will work. It involves graphical components. Unless there are some way to make test see what's on the screen I can't think of a way how to do this.
On a side note: I don't see any tests for common controls to see how can I do this one...
On October 21, 2003 12:43 am, Vitaliy Margolen wrote:
I'm not exactly sure how such a test will work. It involves graphical components. Unless there are some way to make test see what's on the screen I can't think of a way how to do this.
Right, graphical tests are tricky, and it's not clear to me if they are worth doing. But that's another matter. I was referring to the non-graphical stuff:
I quote from your original email:
" - It looks like there is not such thing as not set tab width. According to this:
"To give all tabs the same width, you can specify the TCS_FIXEDWIDTH style. The control sizes all the tabs to fit the widest label, or you can assign a specific width and height by using the TCM_SETITEMSIZE message."
one can assume that if tab width is not explicitly set with TCM_SETITEMSIZE message "The control sizes all the tabs to fit the widest label".
Not true. Native uses default tab size of 96.
- The minimum size of a tab is at least icon width + 3 if icon is present.
- Prior observation that "under Windows, there seems to be a minimum width of 2x the height for button style tabs" is not true. At least not in Win98. "
At first glance, it looks as if you could test these without any graphics...
Vitaliy Margolen wine-devel@kievinfo.com writes:
Monday, October 20, 2003, 10:13:12 PM, Dimi wrote:
On October 20, 2003 01:49 am, Vitaliy Margolen wrote:
Do you mean I need to write some test program? [...]
Yes, a test program, but one that's integrated in our testing framework. See any of the dlls/*/tests/*.c files for examples.
I'm not exactly sure how such a test will work. It involves graphical components. Unless there are some way to make test see what's on the screen I can't think of a way how to do this.
You can have a look at dlls/user/tests/listbox.c. The idea is to emulate mouse clicks and observe app. behaviour. I think you can adapt it to your purposes.
Feri.