digitalmars.D.dwt - Error with MenuDetect
- Simen Haugen (5/5) May 30 2008 It seems somewhere in dwt, the parents location isn't added to the check...
- Frank Benoit (8/16) May 30 2008 sorry, i don't understand your description.
- Frank Benoit (4/12) Jun 01 2008 i don't know if that is relevant for your problem...
- Simen Haugen (7/19) Jun 02 2008 No, its not the same. The bug can be seen in other examples too. Open th...
- Frank Benoit (2/8) Jun 02 2008 Thanks, it is fixed now.
It seems somewhere in dwt, the parents location isn't added to the checked position... What I mean is that the window has to be in the upper left corner of the screen to accept any MenuDetect. If I move it a little to the right, the rightmost part of my form doesn't detect it etc.
May 30 2008
Simen Haugen schrieb:It seems somewhere in dwt, the parents location isn't added to the checked position... What I mean is that the window has to be in the upper left corner of the screen to accept any MenuDetect. If I move it a little to the right, the rightmost part of my form doesn't detect it etc.sorry, i don't understand your description. can you post a minimal example? Or do you have that problem with existing examples also? Do you use dwt-win or dwt-linux? "to accept any MenuDetect", do you mean the visual reaction for mouse click? Or do you mean MenuDetectListener/Event is not called/triggered? or the coordinates in the passed event?
May 30 2008
Simen Haugen schrieb:It seems somewhere in dwt, the parents location isn't added to the checked position... What I mean is that the window has to be in the upper left corner of the screen to accept any MenuDetect. If I move it a little to the right, the rightmost part of my form doesn't detect it etc.i don't know if that is relevant for your problem... With menus a bug was reported and fixed. http://www.dsource.org/projects/dwt-win/ticket/17
Jun 01 2008
"Frank Benoit" <keinfarbton googlemail.com> wrote in message news:g1tr80$65g$1 digitalmars.com...Simen Haugen schrieb:No, its not the same. The bug can be seen in other examples too. Open the ControlExample, select tree for instance and select the popup menu. If the window is positioned in the upper left of the screen, the popup menu shows. If I position it in the lower right, no popup menu is shown. This is using dwt-win from trunk, tango rev. 3541 and dmd 1.028.It seems somewhere in dwt, the parents location isn't added to the checked position... What I mean is that the window has to be in the upper left corner of the screen to accept any MenuDetect. If I move it a little to the right, the rightmost part of my form doesn't detect it etc.i don't know if that is relevant for your problem... With menus a bug was reported and fixed. http://www.dsource.org/projects/dwt-win/ticket/17
Jun 02 2008
Simen Haugen schrieb:No, its not the same. The bug can be seen in other examples too. Open the ControlExample, select tree for instance and select the popup menu. If the window is positioned in the upper left of the screen, the popup menu shows. If I position it in the lower right, no popup menu is shown. This is using dwt-win from trunk, tango rev. 3541 and dmd 1.028.Thanks, it is fixed now.
Jun 02 2008