Closed Bug 275171 Opened 20 years ago Closed 19 years ago

The GetGuiThreadInfo API does not indicate which window the caret in currently active

Categories

(Core :: Widget: Win32, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: nealandrews, Unassigned)

Details

When useing the API GetGuiThreadInfo when the focus is in the address bar or the
google search box the hwndcaret member of the GUITHREADINFO structure never gets
set to the correct window handle and is always zero. All other "edit boxed in
windows do fill in the hwndcaret member correctly, including MS Word.

Regards
Neal
erm, and what does the os call into the app to get this info?
Assignee: bugs → win32
Component: OS Integration → Widget: Win32
Product: Firefox → Core
QA Contact: firefox.os-integration → ian
Version: unspecified → Trunk
There is no much we can do about it because Mozilla draws all controls (textbox,
addressbar combobox, buttons etc.) by itself and these widgets do not have real
Win32 HWND handles. Seems that GUITHREADINFO structure is updated
(automatically) only by native Win32 controls and there is no public API to
update this structure from client programms.
BTW most of MS Internet Explorer controls on page are HWND-less, too (except
combo box/listbox?)
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.