Custom Wizard questions

This is multi-part question

 

A. I have a custom document creation type wizard registered and the icon is shown after the "No Wizard" and "Advanced Wizards" icons within the ProjectWise Explorer Select a wizard dialog box when the user chooses to create a new document, however it is labeled "Nameless" and uses the same Icon symbol as the No Wizard.

1. How can I give my Wizard a meaningful name?

2. How can I give my Wizard a custom icon?

 

B. In addition to having my custom wizard appear/loaded in PW Explorer I would also like it to be available within the MicroStation environment along with the other two wizards when a user chooses to create a new file, What do I need to do to accomplish this?

 

Thank you,

Todd

<code snip>

ULONG ulWizTypeId = 0;
ULONG ulWizId = 0;
AAWIZARD aaWiz;
AAWIZTYPE aaWizType;

aaWizType.ulMask = AAWIZTYPEM_NAME | AAWIZTYPEM_ID | AAWIZTYPEM_GROUP_NAME;
aaWizType.ulId = AAAPI_WIZTYPE_DOCUMENT;
aaWizType.lpctstrName = AAWZ_CAT_STR_DOCUMENT_CREATION;
aaWizType.lpctstrGroupName = L"My Document Creation Wizard";
ulWizTypeId = aaApi_RegisterWizardCategory(&aaWizType);

aaWiz.ulMask = AAWIZM_CATEGORYID | AAWIZM_CALLBACK;
aaWiz.fnCallback = DocCreationCallback;
aaWiz.ulCategory = ulWizTypeId;
ulWizId = aaApi_RegisterWizard(&aaWiz);