mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 00:12:55 +00:00
[ODBCCP32]
The control panel automatically runs this applet without clicking on it, fix this wrong behaviour. Patch by Lee Schröder CORE-8323 #resolve #comment Thanks :) svn path=/trunk/; revision=63625
This commit is contained in:
parent
73f4d1ff00
commit
adc64f21ca
1 changed files with 38 additions and 27 deletions
|
@ -18,6 +18,13 @@ CPlApplet(HWND hwndCpl,
|
||||||
UINT uMsg,
|
UINT uMsg,
|
||||||
LPARAM lParam1,
|
LPARAM lParam1,
|
||||||
LPARAM lParam2)
|
LPARAM lParam2)
|
||||||
|
{
|
||||||
|
switch (uMsg)
|
||||||
|
{
|
||||||
|
case CPL_INIT:
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
|
case CPL_DBLCLK:
|
||||||
{
|
{
|
||||||
if (ODBCProc == NULL)
|
if (ODBCProc == NULL)
|
||||||
{
|
{
|
||||||
|
@ -50,6 +57,10 @@ CPlApplet(HWND hwndCpl,
|
||||||
return (LONG)-1;
|
return (LONG)-1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue