Posts tagged ‘mfc’

34 posts; newest first

Handling LVN_GETDISPINFO

mfc

If you specify LPSTR_TEXTCALLBACK when inserting an item into a ListView control, it no longer supports sorting; you can’t click on the column heading to sort the list control.

» read more

Displaying Progress in a Wizard

mfc

I’m adding a wizard to the program that I’m currently working on. The wizard walks the user through importing some information from a file. I’d like to be able to display the import progress as a seamless part of the wizard.

» read more

Using ON_COMMAND_RANGE and ON_UPDATE_COMMAND_UI_RANGE

mfc

The ON_COMMAND_RANGE and ON_UPDATE_COMMAND_UI_RANGE macros are useful when you want to treat a group of commands similarly. In this case, it’s the commands for changing list view style. The command IDs must be contiguous, and you must specify the lower one first.

» read more