#include <prsht.h>
#include "window.h"
-#include "String++.h"
#include "ControlAdjuster.h"
class PropSheet;
// For setting the back/finish buttons properly.
bool IsFirst, IsLast;
- static BOOL CALLBACK FirstDialogProcReflector (HWND hwnd, UINT message,
+ static INT_PTR CALLBACK FirstDialogProcReflector (HWND hwnd, UINT message,
WPARAM wParam,
LPARAM lParam);
- static BOOL CALLBACK DialogProcReflector (HWND hwnd, UINT message,
+ static INT_PTR CALLBACK DialogProcReflector (HWND hwnd, UINT message,
WPARAM wParam, LPARAM lParam);
void setTitleFont ();
typedef struct
{
// the URL to load when clicked
- String url;
+ std::string url;
// location of the control's original winproc that we are subclassing
WNDPROC origWinProc;
protected:
SizeProcessor sizeProcessor;
- virtual BOOL CALLBACK DialogProc (UINT message, WPARAM wParam,
- LPARAM lParam);
+ virtual INT_PTR CALLBACK DialogProc (UINT message, WPARAM wParam,
+ LPARAM lParam);
+ virtual INT_PTR CALLBACK OnMouseWheel (UINT message, WPARAM wParam,
+ LPARAM lParam);
+ virtual INT_PTR CALLBACK OnTimerMessage (UINT message, WPARAM wParam,
+ LPARAM lparam);
public:
PropertyPage ();
return OurSheet;
};
- void makeClickable (int id, String URL);
+ void makeClickable (int id, std::string link);
};
#endif /* SETUP_PROPPAGE_H */