Aurimas Fišeras wrote:
On 07/05/2009 04:08 PM, Paul Vriens wrote:
Hi,
We at least see the text now. Selecting is possible but doesn't work
(regression?).
Changelog
Show the select store text when browsing stores
------------------------------------------------------------------------
+ selectInfo.pwszText = LoadStringW(hInstance, IDC_STORE_TEXT,
+ storeText, sizeof(storeText) / sizeof(storeText[0]));
LoadStringW returns int, not string!
LoadStringW(hInstance, IDC_STORE_TEXT, storeText, sizeof(storeText) /
sizeof(storeText[0]));
selectInfo.pwszText = storeText;
Yep, your right. The strange thing is that it works though.
Even setting selectInfo.pwszText to anything but NULL (not a string
though) makes the text show up?
Any idea? Is that SendMessage behaviour?
I will resend but was just curious.
--
Cheers,
Paul.