Page 1 of 1

Possible Backgrd.-Color or Brush for Outlook2003 ?

PostPosted: Thu Feb 14, 2008 1:36 pm
by ukoenig
Hello from Germany,

a small problem :

when i start a extern Dialog with a Outlook-Button,
before i open the Child, there is a black part obove the buttons,
because i cannot set a Basic-Color or Brush for Outlook2003.
As long i don't close the dialog and carry on with the
function, the part is black. On the righthandside
the Brush comes from the Main-Dialog.
Sample : on the top of the Child, i set some parameters
in a extern dialog for the database i want to open.
or start the Calendar ( Screenshot )
Is it possible to get a Brush or Background-Color ?

Image

Regards
Uwe

[/img]

PostPosted: Thu Feb 14, 2008 4:15 pm
by James Bott
Uwe,

This is because Outlook2003 wasn't designed to call modal dialogs from the buttons. It displays a non-modal dialog in the black area after it calls bChange. Since you are calling another modal dialog from bChange the built-in dialog doesn't get displayed until after you close the modal one.

Look at the setOption() method. You might try moving the bChange eval to after the dialog show(), but I don't know what other consequences this might have.

Note that it is not traditional behavior to call a nonmodal dialog from an outlook bar button. The outlook bar is really designed for SDI applications.

James