Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks

  



Damien O'Brien 21.Apr.06 10:00 AM a Web browser
Notes Client 7.0 Windows XP


Hi,
Using the notes C API is it possible to have an Extension Manager get a handle to the Notes Client current active window/tab document?

In pseudocode it'd look something like this:

DoProcessing()
{
HANDLE hNotes = GetHandleToActiveDoc();

if (hNotes)
{
doStuff();
}
}

The DoProcessing() function would be called using a windows timer. I know I can get a handle to the doc using some of the Extension Manager callbacks - but I really need this to happen outside of the callback mechanism.

If I can't get a handle to the current active document directly is there some other object I can go through to get it?
For example I know using the C API I can add a menu item to Notes - this would lead me to believe that i have some access to the Note GUI and that there might be some other way to get the current active window/tab document?

TIA,
Damien






C API - get handle to current activ... (Damien O'Brien 21.Apr.06)
. . RE: C API - get handle to current a... (Ben Langhinrich... 21.Apr.06)
. . . . RE: C API - get handle to current a... (Damien O'Brien 21.Apr.06)
. . . . . . RE: C API - get handle to current a... (Rich Schwartz 21.Apr.06)
. . . . . . . . RE: C API - get handle to current a... (Damien O'Brien 24.Apr.06)
. . . . . . . . . . RE: C API - get handle to current a... (Rich Schwartz 24.Apr.06)
. . . . . . . . . . RE: C API - get handle to current a... (Ben Langhinrich... 24.Apr.06)
. . . . . . . . . . . . RE: C API - get handle to current a... (Krzysztof S Obl... 24.Apr.06)
. . . . . . . . . . . . . . *Called from what context? Menu add... (Ben Langhinrich... 24.Apr.06)
. . . . . . . . . . . . . . . . RE: *Called from what context? Menu... (Krzysztof S Obl... 25.Apr.06)
. . . . . . . . . . . . . . . . . . OK, I'm still missing something (Ben Langhinrich... 25.Apr.06)
. . . . . . . . . . . . . . . . . . . . RE: OK, I'm still missing something... (Stan Rogers 25.Apr.06)
. . . . . . . . . . . . . . . . . . . . . . But, if it is COM, how is that pref... (Ben Langhinrich... 25.Apr.06)
. . . . . . . . . . . . . . . . . . . . . . . . RE: But, if it is COM, how is that ... (Krzysztof S Obl... 25.Apr.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . *Cool. Thanks. eom> (Ben Langhinrich... 25.Apr.06)
. . . . . . . . . . . . . . . . . . . . . . Nitpick: It's OLE, not COM (Rich Schwartz 25.Apr.06)
. . . . . . . . . . . . . . . . . . . . . . . . RE: Nitpick: It's OLE, not COM (Ben Langhinrich... 25.Apr.06)
. . . . . . . . . . . . . . . . . . . . . . . . RE: Nitpick: It's OLE, not COM (Krzysztof S Obl... 25.Apr.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . RE: Nitpick: It's OLE, not COM (Rich Schwartz 26.Apr.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Nitpick: It's OLE, not COM (Krzysztof S Obl... 26.Apr.06)
. . . . . . . . . . . . . . . . . . . . I think I see what he's saying (Rich Schwartz 25.Apr.06)
. . . . . . . . . . . . . . . . . . . . RE: OK, I'm still missing something... (Krzysztof S Obl... 25.Apr.06)
. . . . . . . . . . . . . . . . . . . . . . Interesting approach. I'll have to ... (Ben Langhinrich... 25.Apr.06)
. . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Krzysztof S Obl... 25.Apr.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . *Agreed. At that point, use the COM... (Ben Langhinrich... 25.Apr.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Damien O'Brien 26.Apr.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Krzysztof S Obl... 26.Apr.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Damien O'Brien 26.Apr.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Damien O'Brien 27.Apr.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Krzysztof S Obl... 27.Apr.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Krzysztof S Obl... 27.Apr.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Damien O'Brien 1.May.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Damien O'Brien 1.May.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Stan Rogers 1.May.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Damien O'Brien 1.May.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Krzysztof S Obl... 1.May.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Damien O'Brien 1.May.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Stan Rogers 1.May.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Krzysztof S Obl... 1.May.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Damien O'Brien 1.May.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Krzysztof S Obl... 1.May.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Krzysztof S Obl... 1.May.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Damien O'Brien 4.May.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Krzysztof S Obl... 4.May.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Damien O'Brien 10.May.06)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RE: Interesting approach. I'll have... (Krzysztof S Obl... 19.May.06)
. . . . . . . . . . . . . . Intriguing, but... (Rich Schwartz 24.Apr.06)
. . . . . . . . . . . . . . . . RE: Intriguing, but... (Krzysztof S Obl... 25.Apr.06)
. . . . . . . . . . . . . . . . . . RE: Intriguing, but... (Aditya Vaish 30.Jul.07)
. . . . . . . . . . . . . . . . . . . . RE: Intriguing, but... (Vladimir Baros 25.Mar.08)
. . . . . . . . . . . . . . . . . . . . . . RE: Intriguing, but... (Krzysztof S Obl... 13.Dec.08)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite