MTable Problem with MTM_AreaLBtnUp

forum.3rdparty.tools (2005-2010)
michael
Germany
Posts: 300
Joined: 07 Jun 2018, 15:13
Location: Stuttgart, GER

MTable Problem with MTM_AreaLBtnUp

Post by michael » 13 Oct 2005, 13:45

 Posted by:  Michael Hummel 

hello ng,

it seems that MTM_AreaLBtnUp is send to the table window even when a
dialogbox is in front of the table
my application has a column with a calendar icon, when i click on the
calendar icon it opens a dialog window with a calendar control. when i click
on a date of the calendar control, the table gets a MTM_AreaLbtnUp message.

so my question: how can i get only messages which belongs to the table
window.

ctableWindow: Mytable
...
On MTM_AreaLBtnUp
Call SalTrace(EVENT_Information,
"MTM_AreaLBtnUp wparam=" || SalNumberToStrX(
wParam, 0 ) ||
" lparam=" || SalNumberToStrX( lParam, 0 ) )

thank you
michael

-------the trace file

INFORMATION: 13.10.2005 13:33:55:
Start Trace

INFORMATION: 13.10.2005 13:34:11:
MTM_AreaLBtnUp wparam=463456 lparam=16
-> ok click on the table window row 16, column calendaricon

INFORMATION: 13.10.2005 13:34:15:
MTM_AreaLBtnUp wparam=332372 lparam=10
-> wrong, because its a click on the dialogbox

i use MTable 1.7.6

micsto
Germany
Posts: 1061
Joined: 07 Mar 2017, 16:07
Location: Germany

MTable Problem with MTM_AreaLBtnUp

Post by micsto » 13 Oct 2005, 14:15

 Posted by:  Michael Stoll \( MICSTO \) 

Hi Michael,

it seems that the table receives WM_LBUTTONUP, because M!Table generates
MTM_AreaLBtnUp on WM_LBUTTONUP. So I think it's a generic problem.

Michael

michael
Germany
Posts: 300
Joined: 07 Jun 2018, 15:13
Location: Stuttgart, GER

MTable Problem with MTM_AreaLBtnUp

Post by michael » 13 Oct 2005, 15:47

 Posted by:  Michael Hummel 

Thank You, Michael

debug -> Expressions ->

value of
MTM_AreaLBtnUp is 16486
WM_LBUTTONUP is 514

the table windows has the saltrace only in the section

On MTM_AreaLBtnUp
SalTrace .....

michael

Return to “3rdparty.tools”

Who is online

Users browsing this forum: [Ccbot] and 0 guests