|Date:||April 18, 2007 / year-entry #135|
|Summary:||Here's a problem that floated past a few years ago. We switched our wizard from using dialog resource IDs to using PSP_DLGINDIRECT because [reasons deleted since they aren't important]. But once we did that, the Next button doesn't work! Anybody have any ideas what's going on? I made things a little easier by deleting the...|
Here's a problem that floated past a few years ago.
I made things a little easier by deleting the information that isn't relevant to the problem. See if you can solve it before reading further.
Here's my reply:
But how do you specify pages when you aren't using dialog resource IDs?
Let's take a step back and look at the way dialogs are specified. There are three ways to do this:
If you look at the property sheet page structure, you'll also notice that the
If you specified your page via dialog resource ID, you can return that dialog resource ID; but what if you used a dialog resource name or an indirect dialog? Well, since the dialog resource ID, resource name, and indirect dialog are all stored in the same place, you just pass whatever you passed in the
This technique works with
<-- Back to Old New Thing Archive Index