Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wow-Extensions and z-order

Status
Not open for further replies.

theotyflos

Programmer
Oct 15, 2000
132
GR
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.
 
Note to group:

I have communicated directly with Theophilos about this. When we have a resolution, I will report back here.

Tom Morrison
 
Thanks for that Tom,

I Appreciate your support.

Many wishes for the Christmas and the New Year's eve.

Theophilos.

-----------

There are only 10 kinds of people: Those who understand binary and those who don't.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top