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);
Bump
Do you handle AAWIZCM_GETNAME and AAWIZCM_GETICON in your callback? You can look for an example in MyWizard SDK sample.
B: Set proper checkboxes (bits) in CustReg.exe like in Document Creation Wizard. See a screenshot.
handleing the AAWIZCM_GETNAME and AAWIZCM_GETICON in my callback, That works!
Thank you
Setting the checkboxes did not work (also tried setting them all individually, and via the All box). My .dll does load when MicroStation is launched( I have it display a message to confirm it is loaded), but the Icon does not appear with the other two Wizards when choosing File -> New from the MicroStation menu.
MS ver. MicroStation V8i (SELECTseries 2) - Version 08.11.07.443 Windows x86
What additional information do you need from me to help you with my issue?