All pastes #250104 Raw Edit

the.golem

public cpp v1 · immutable
#250104 ·published 2006-11-16 16:47 UTC
rendered paste body
#include "InstallDialog.h"InstallDialog::InstallDialog(){	iccx.dwSize = sizeof(INITCOMMONCONTROLSEX);    iccx.dwICC = ICC_PROGRESS_CLASS; //ICC_WIN95_CLASSES can also be used    InitCommonControlsEx(&iccx);}///////////////////// from InstallDialog.h ////////////#ifndef InstallDialogH#define InstallDialogH#include "BaseDlg.h"#include "resource.h"#include <commctrl.h>#include <string>#include "ProgressDialog.h"#include "unzip.h"#include <commdlg.h>using std::string;class InstallDialog : public BaseDlg //Class hierarchy: BaseWnd<-BaseDlg<-InstallDialog{private:	INITCOMMONCONTROLS iccx;	ProgressDialog pdUnzip;	string sThemesDir;	string sName;	const string GetFilePath();protected:	virtual bool OnCommand(HWND hwndCtl, int nID, UINT uNotifyCode);  //WM_COMMAND handler	virtual bool OnInitDialog(HWND hwndFocus, LPARAM lParam);public:	InstallDialog();	~InstallDialog();	void SetThemesDir(string sThemesDir);	void InstallTheme(const string &sFilePath);	void BrowseForFile();	string GetThemeName() {return sName;}};#endif