Open a second dialog without using a menu
Thank you Rajani. I had looked at this before, but I could not figure out how to use the RsrcSpec parameter to specify my dialog. Nevertheless, due to your encouragement, I looked at it again and figured it out. I guess it was just a late night. I copied code from the Basic Dialog sample and adapted it, using my plug-in ID and the resource ID of the dialog in the RsrcSpec. I also placed a WaitForDialog() after the Open() so the code would not go on to the next window prematurely. It seems to be working okay so far.
John
|