27 Sep
2010
27 Sep
'10
1:14 a.m.
On 09/26/2010 05:08 PM, Nikolay Sivov wrote:
Add a test for TCM_SETITEMEXTRA
+static HWND parent_wnd; -static void test_curfocus(HWND parent_wnd, INT nTabs) +static void test_curfocus(void) { - hTab = createFilledTabControl(parent_wnd, TCS_FIXEDWIDTH, TCIF_TEXT|TCIF_IMAGE, nTabs); + hTab = createFilledTabControl(parent_wnd, TCS_FIXEDWIDTH, TCIF_TEXT|TCIF_IMAGE, 5);
So how is the global better then function parameter? Or a magic number? Vitaliy.