-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
win32_utf8: Add CreateDialogParam and DialogBoxParam.
Bravo, Microsoft. What a great design. If you just replaced lpTemplateName with an integer parameter (I mean, who references dialog box templates by name anyway), we wouldn't have needed the entire A and W distinction for these, because dialog box templates are guaranteed to be UTF-16 anyway. And since everyone uses MAKEINTRESOURCE anyway, there is no reason to use the A version *at all*, even if you wouldn't code in Unicode otherwise (which, really, you should have done from the start, but oh well).
- Loading branch information
nmlgc
committed
Aug 21, 2013
1 parent
71c1dca
commit 609e844
Showing
4 changed files
with
139 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters