Access COM-Addin opening Modal Window

D

Daniel Migowski

Hello friends,

I currently write an access addin and want this addin to show a model
dialog box in front of the Access window.

I belive i can do this with setting the owner property (and so having
the hwnd of the access window as parent), but when i do the following in
my freshly opened modal Form (with m_form being my Form object) i can
see no diffence:

VBForms_SetOwner m_form.Hwnd, Access.Application.hWndAccessApp

Any ideas, someone? I just need the VB-Form i did in my AddIn to be
modal and bound to the Access Application (or at least to stay in front
of it...)

Greetings and many thanks for every suggestions in advance,
Daniel Migowski
 
D

Daniel Migowski

Daniel said:
I currently write an access addin and want this addin to show a model
dialog box in front of the Access window.

Problem fixed itself... the nonmodality was only given in debugmode,
while i was debugging the addin with the VB6-Editor.

Greetings,
Daniel Migowski
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top