comctl32: treeview: Message sequencing tests

James Hawkins truiken at gmail.com
Fri Mar 9 17:00:15 CST 2007


On 3/9/07, Marcelo Duarte <marcelotduarte at gmail.com> wrote:
> Chris Peterson escreveu:
> > This is another patch for my CS130 assignment. It adds message
> > sequencing tests. Other changes include: I updated one of my previous
> > tests which was not testing the implied message; I changed a
> > SendMessageW to SendMessageA call in DoFocusTest to fix a problem on
> > Windows 98 due to a lack of default unicode support. Any
> > comments/suggestions are welcome.
> > Thanks!
> > -Chris
> >
> Hi!
> >
> > @@ -166,7 +315,8 @@ static void DoFocusTest(void)
> >      assert(hChild2);
> >
> >      ShowWindow(hMainWnd,SW_SHOW);
> > -    SendMessageW(hTree, TVM_SELECTITEM, TVGN_CARET, (LPARAM)hChild);
> > +    /* Using SendMessageA since Win98 doesn't have default unicode support */
> > +    SendMessageA(hTree, TVM_SELECTITEM, TVGN_CARET, (LPARAM)hChild);
> >
> Use SendMessage() instead.
>

There's nothing wrong with using SendMessageA.

-- 
James Hawkins



More information about the wine-devel mailing list