Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
32bit版で設定ウィンドウが表示されなかったのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
noriokun4649 committed Oct 31, 2020
1 parent d1f6eef commit ca8162e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions TvTestRPC/TvTestRPC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@ class CMyPlugin : public TVTest::CTVTestPlugin
static LRESULT CALLBACK EventCallback(UINT Event, LPARAM lParam1, LPARAM lParam2, void* pClientData);
static INT_PTR CALLBACK SettingsDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam, void* pClientData);
bool ShowDialog(HWND hwndOwner);
POINT m_SettingsDialogPos;
TCHAR m_szIniFileName[MAX_PATH];
bool conf_mode = false;
bool conf_isFinalized = false;
bool InitSettings();
bool pluginState = false;
void InitDiscord();
void UpdateState();
static const int DEFAULT_POS = INT_MIN;

public:
time_t SystemTime2Timet(const SYSTEMTIME&);
Expand Down Expand Up @@ -144,10 +142,6 @@ bool CMyPlugin::ShowDialog(HWND hwndOwner) {
Info.pMessageFunc = SettingsDlgProc;
Info.pClientData = this;
Info.hwndOwner = hwndOwner;
if (m_SettingsDialogPos.x != DEFAULT_POS && m_SettingsDialogPos.y != DEFAULT_POS) {
Info.Flags |= TVTest::SHOW_DIALOG_FLAG_POSITION;
Info.Position = m_SettingsDialogPos;
}

return m_pApp->ShowDialog(&Info) == IDOK;
}
Expand Down

0 comments on commit ca8162e

Please sign in to comment.