Well, I have come up with a better way to create a wizard that actually works. Property Sheets have their places and Wizards just isn't one of them! :mad:
Type: Posts; User: JoeCoder
Well, I have come up with a better way to create a wizard that actually works. Property Sheets have their places and Wizards just isn't one of them! :mad:
All of the dialogs have been created with the "WS_CHILD" style. Also, the code has been placed in each dialog's "WM_INITDIALOG".
No dice. :( I added the code below as suggested by knutso (thanks!) but it did not work! :mad:
GetClientRect(GetParent(hdlg), &rc);
MoveWindow(hdlg,...
Hey guys! I'm back with yet another problem. I have created an install wizard using Win32 API Property Sheets. As a parent, I have also created a gradient window. Like most installers, I want my...
Ok; I fixed it! Inside of the Dialog Procedure for each page, under "WM_NOTIFY", you need to put:
case PSN_QUERYCANCEL:
{
LRESULT lAskUsr =...
From inside of the GetMessage loop:
if(hwnd && (NULL == (HWND)PropSheet_GetCurrentPageHwnd(hwnd)))
{
LRESULT lAskUsr = MessageBox(hwnd,szMbText,szMbTitle,MB_YESNO|MB_ICONQUESTION);
if...
Hi! I have created a wizard using Win32 API Property Sheets. When the user presses the "Cancel" button, I want them to be able to confirm that they actually wish to exit. I put something together...
Allright; I didn't manage to get the Wiz97 example working but I did manage to get a boiled-down version of what Sean posted working like a charm. Thank you guys for all of your help! :D
P.S. - I...
Well, Dev C++ 5 seems to have a problem with that code. Here are the errors:
[Linker error] undefined reference to `CreatePropertySheetPageA@4'
[Linker error] undefined reference to...
Thank you Codeplug; I just did a little digging and found that tutorial myself. My gratitude, anyhow! ;)
Well, I extracted the necessary parts and then looked up PropertySheets on MSDN but it seems that they were only intended to be used under Windows 95! :(
Thank you, Sean. I'll definately look into that!
Hi guys! I am attempting to make a setup wizard for one of my programs. I have been struggling with this for the past week. I have finnally gotten it to switch pages using "SetWindowText()" to change...