Closed Bug 75609 Opened 23 years ago Closed 23 years ago

Cannot use Windows MSAA support with WINVER=0x0400

Categories

(SeaMonkey :: Build Config, defect, P1)

x86
Windows 2000
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.1

People

(Reporter: aaronlev, Assigned: aaronlev)

References

Details

(Keywords: access, Whiteboard: ETA mm/dd???; needed for embedding 0.9)

Attachments

(3 files)

The current build system uses a default WINVER of 0x0400.
This gives us the lowest common denominator of Windows support.
However it does not define some things we need to support MSAA (Microsoft 
Active Accessibility), such as OBJID_WINDOW and WM_GETOBJECT.

Is there any reason we can't use WINVER=0x0500 as the default now?

I notice that in some modules, people are forcing WINVER = 0x0500 temporarily 
before they include certain files.
Leaf, I have a workaround.

I don't know if you still want to try and fix the WINVER problem for future 
work.
Leaf, can you try building on NT with my patch and WINVER=0x0400? If you can 
test it and see that it still builds a working program, and r= this, that would 
be great.

Aaron
Assignee: leaf → aaronl
\ No newline at end of file

is there a reason to keep this one:
 // accessibility only on Windows2000 and Windows98
but not most of them: ?
-        // accessibility only on Windows2000 and Windows98
I applied the patch and compiled on NT4 sp6. It compiles just fine, but I don't 
see a change with what I can find using the Inspect Objects tool from MSAA. I 
can't step to individual elements inside the webpage, just the outermost 
window/frame the min/max/close buttons and then it jumps to the console window 
that launched the broswer. 

Interesting, well at least it compiles on all platforms now.
Did you rebuild everything or just the accessible, layout and widget 
directories? Also, sometimes you need to do:
nmake /f makefile.win depend
before
nmake /f makefile.win
Don't be deeper than a top level directory of mozilla, otherwise it won't use 
the "build" directory and link the .dll's.

Oh, one more thing - are you testing it with mfcembed or with Mozilla/NS6? It 
won't work with a XUL-based browser at all. You have to test with mfcembed.
I initially just applied the patch and rebuilt ( nmake -f client.mak build_all )
from the mozilla directory assuming the makefile system would pick up the file
modifications ( which in retrospect I think it did ). Then I tested using
mozilla. Not seeing the results I was hoping for, I clobbered ( nmake -f
client.mak clobber_all ) and rebuilt the entire tree from mozilla ( nmake -f
client.mak build_all ). Re-tested using mozilla and saw the same thing.

I don't see a mfcembed binary in the dist\W*\bin directory. How do a test using
that?
you should have --enable-tests (or not have --disable-tests) and you should not 
have NO_MFC.  

try
cd mozlla\embedding\tests\mfcembed
nmake /f makefile.win install
[i don't have mfc installed, so i haven't played w/ this]
Thanks for the pointer timeless.

Woo-hoo, it works!! :-) I can use the object inspector and looks like I can
navigate to all the GUI elements. not much within the HTML page though, buttons
and textfields show up, but not hyertext links or plain text.

P1/moz0.9.1, need ETA date.
Blocks: 75785
Keywords: access
Priority: -- → P1
Whiteboard: ETA mm/dd???; needed for embedding 0.9
Target Milestone: --- → mozilla0.9.1
This is part of our accessible branch tbat is getting reviewed.
It's already done. Will mark fixed once it checked into the tip.
Status: NEW → ASSIGNED
Blocks: 65632
checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
verified.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: