Subject: Outlook customization problem
Posted By: rupen Post Date: 8/2/2006 7:21:04 AM
pls see belw code
-----------------------
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
  

    InputBox "test"
    
    If MsgBox("Are you sure to send?", vbYesNo) = vbNo Then
                 Cancel = True
    End If
    

End Sub
--------------------
When i cllick on new mail composing, I am getting msgbox but it shows in background any idea to get it on top.

I m using vb 6.3(press Alt+F11) in MS Outlook.


Rupen Anjaria.
------------------
We CAN'T avoid problems, but can solve it.
Reply By: alvinjohnbruney Reply Date: 8/15/2006 1:42:28 PM
The message box is implicitly modal so it should, by default, pop to the top. Do you have any other applications running that may be stealing focus?


Go to topic 48394

Return to index page 203
Return to index page 202
Return to index page 201
Return to index page 200
Return to index page 199
Return to index page 198
Return to index page 197
Return to index page 196
Return to index page 195
Return to index page 194