diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-29 14:19:53 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-29 14:19:53 +0000 |
commit | c5e9cd21d6ca8203dffb4bed1ac11127ba7a722a (patch) | |
tree | 23eac7ff5e9015e450d910b9b78563c2c8da1c99 | |
parent | 2d5acb9afe2fe861f7af1cdd7349056c97173ced (diff) |
fix premature display of copy progress dialog
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@307 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r-- | db3x_autobackups/db3x_mmap.rc | 2 | ||||
-rw-r--r-- | db3x_autobackups/db3x_mmap_8.vcproj | 4 | ||||
-rw-r--r-- | db3x_autobackups/init.c | 4 |
3 files changed, 9 insertions, 1 deletions
diff --git a/db3x_autobackups/db3x_mmap.rc b/db3x_autobackups/db3x_mmap.rc index b700605..9bdd6d1 100644 --- a/db3x_autobackups/db3x_mmap.rc +++ b/db3x_autobackups/db3x_mmap.rc @@ -102,7 +102,7 @@ BEGIN END
IDD_COPYPROGRESS DIALOGEX 0, 0, 254, 148
-STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION
+STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_CLIPCHILDREN | WS_CAPTION
CAPTION "Backup in Progress"
FONT 8, "MS Sans Serif", 0, 0, 0x0
BEGIN
diff --git a/db3x_autobackups/db3x_mmap_8.vcproj b/db3x_autobackups/db3x_mmap_8.vcproj index d893e27..8d09534 100644 --- a/db3x_autobackups/db3x_mmap_8.vcproj +++ b/db3x_autobackups/db3x_mmap_8.vcproj @@ -670,6 +670,10 @@ >
</File>
<File
+ RelativePath=".\icon1.ico"
+ >
+ </File>
+ <File
RelativePath=".\version.rc"
>
</File>
diff --git a/db3x_autobackups/init.c b/db3x_autobackups/init.c index ae2e7fa..7b60ab5 100644 --- a/db3x_autobackups/init.c +++ b/db3x_autobackups/init.c @@ -175,6 +175,10 @@ __declspec(dllexport) DATABASELINK* DatabasePluginInfo(void * reserved) __declspec(dllexport) PLUGININFOEX * MirandaPluginInfoEx(DWORD mirandaVersion)
{
+ if ( mirandaVersion < PLUGIN_MAKE_VERSION(0,7,0,0)) {
+ MessageBox( NULL, _T("The db3x_mmap plugin cannot be loaded. It requires Miranda IM 0.7.0.0 or later."), _T("db3x_mmap Plugin"), MB_OK|MB_ICONWARNING|MB_SETFOREGROUND|MB_TOPMOST );
+ return NULL;
+ }
return &pluginInfo;
}
|