theotyflos
Programmer
Hi group,
Environment is Rm/Cobol v9.01 and WOW-Extensions v9.01 on Windows-XP sp2.
I have a form with two bitmaps which partially overlap:
[tt] 11111111111111111
11111111111111111 <-- First Bitmap, Zorder=1
11111111111111111
11111111111111111
11111111222222222222222
11111111222222222222222 <-- Second Bitmap,Zorder=2
11111111222222222222222
222222222222222
222222222222222
222222222222222
222222222222222
[/tt]
When the form is shown, the second bitmap is drawn "above" the first one as expected.
Each bitmap has some code in its corresponding "Click" event.
The problem is that when I click on the common (overlapped) area, I get a "Click" event from the *FIRST* bitmap,
even if it has a lower z-order than the second one.
I tried the same in VB and VC++ and it works ok, so, I assume it has something to do with the Cobol environment.
Anyone knows what's going on and how to fix it?
Thanks in advance.
Theophilos.
-----------
There are only 10 kinds of people: Those who understand binary and those who don't.
Environment is Rm/Cobol v9.01 and WOW-Extensions v9.01 on Windows-XP sp2.
I have a form with two bitmaps which partially overlap:
[tt] 11111111111111111
11111111111111111 <-- First Bitmap, Zorder=1
11111111111111111
11111111111111111
11111111222222222222222
11111111222222222222222 <-- Second Bitmap,Zorder=2
11111111222222222222222
222222222222222
222222222222222
222222222222222
222222222222222
[/tt]
When the form is shown, the second bitmap is drawn "above" the first one as expected.
Each bitmap has some code in its corresponding "Click" event.
The problem is that when I click on the common (overlapped) area, I get a "Click" event from the *FIRST* bitmap,
even if it has a lower z-order than the second one.
I tried the same in VB and VC++ and it works ok, so, I assume it has something to do with the Cobol environment.
Anyone knows what's going on and how to fix it?
Thanks in advance.
Theophilos.
-----------
There are only 10 kinds of people: Those who understand binary and those who don't.