Dimitrie -
You have a patch back in 2002 that cleans up the listview DrawText() code in comctl32. When calling DrawText from a single-line edit control, you don't pass DT_NOPREFIX. Is this intentional, or just an oversight? My testing on Windows shows that & characters do not get converted to _ even in the single-line edit control case (indicating that DT_NOPREFIX should be passed).
Thanks, Zach
On Sat, Nov 13, 2004 at 08:00:21PM -0500, Zach Gorman wrote:
Dimitrie -
You have a patch back in 2002 that cleans up the listview DrawText() code in comctl32. When calling DrawText from a single-line edit control, you don't pass DT_NOPREFIX. Is this intentional, or just an oversight? My testing on Windows shows that & characters do not get converted to _ even in the single-line edit control case (indicating that DT_NOPREFIX should be passed).
An oversight, most likely. I can't remember not including DT_NOPREFIX on purpose. Besides, testing on Windows trumps my interpretations any day :).