mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Replaced dialog resources with control template
Also fixed tabbing in dialogs.
This commit is contained in:
@@ -1107,8 +1107,6 @@ int CRainmeter::MessagePump()
|
||||
MSG msg;
|
||||
BOOL ret;
|
||||
|
||||
HACCEL hAccel = LoadAccelerators(m_Instance, MAKEINTRESOURCE(IDR_DIALOG_ACCELERATORS));
|
||||
|
||||
// Run the standard window message loop
|
||||
while ((ret = GetMessage(&msg, NULL, 0, 0)) != 0)
|
||||
{
|
||||
@@ -1116,9 +1114,8 @@ int CRainmeter::MessagePump()
|
||||
{
|
||||
break;
|
||||
}
|
||||
else if (!CDialog::GetActiveDialogWindow() ||
|
||||
!TranslateAccelerator(CDialog::GetActiveTabWindow(), hAccel, &msg) ||
|
||||
!IsDialogMessage(CDialog::GetActiveDialogWindow(), &msg))
|
||||
|
||||
if (!CDialog::HandleMessage(msg))
|
||||
{
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
|
Reference in New Issue
Block a user