Does anybody have a tutorial on Property Sheets ? i can't find anyone except for MFC, i need win32 api one. Anyway this is what i came out with after reading MSDN propersheety example, but returned a fatal error.
and compiler error returnedCode:void DoPropertySheet(HWND hwndOwner) { PROPSHEETPAGE psp; PROPSHEETHEADER psh; psp.dwSize = sizeof(PROPSHEETPAGE); psp.dwFlags = PSP_USEHICON; psp.hInstance = g_hinst; psp.pszTemplate = MAKEINTRESOURCE(IDD_DIALOG); psp.pfnDlgProc = DlgProc; psp.lParam = 0; psp.pfnCallback = NULL; psh.dwSize = sizeof(PROPSHEETHEADER); psh.dwFlags = PSH_USEHICON | PSH_PROPSHEETPAGE; psh.hwndParent = hwndOwner; psh.hInstance = g_hinst; psh.pszCaption = (LPSTR) "Cell Properties"; psh.nPages = sizeof(psp) / sizeof(PROPSHEETPAGE); psh.nStartPage = 0; psh.ppsp = (LPCPROPSHEETPAGE) &psp; psh.pfnCallback = NULL; PropertySheet(&psh); }
Can someone help me out or could anybody do a veri simple property sheet example and show me ? just as a reference, the one MSDN offered is too vague, without resources, nth.Code:main.obj : error LNK2001: unresolved external symbol __imp__PropertySheetA@4 Debug/Prop.exe : fatal error LNK1120: 1 unresolved externals