Le samedi 26 février 2005 à 09:49 +0900, Mike McCormack a écrit : [...]
Cool. Some comments:
The dialog box procedure should not handle WM_PAINT or WM_CLOSE, so just delete those cases from the switch statement.
Ok I did it, but the listbox should be updated when the user ask to uninstall someting OR the user changes the filter string ? How can I do that using only WM_INITDIALOG ?
Don't send WM_SETFONT messages to the controls in the dialog. Let the dialog template define what the dialog looks like.
I removed it.
Your WM_INITDIALOG handler should fill the listbox, not WM_PAINT.
See my first question.
You can remove the "No items selected" message if uninstall is clicked without a listbox element select. That's just going to annoy people, and it's not internationalized.
I removed it. Internationalizaton will come after everything is alright.
Thanks.
P.S. Ivan Leo Puti I don't know if it'll be better to use WinMain. Using WinMain will make me to parse the command line manually isn't it ?