PC Review


Reply
 
 
=?Utf-8?B?UmFodWwgU3Vy?=
Guest
Posts: n/a
 
      28th Dec 2004
Hi frnds,

How can I programmatically know whether any messageBox is shown over a form
in an application?

Thanx,
Rahul
 
Reply With Quote
 
 
 
 
Daniel Moth
Guest
Posts: n/a
 
      28th Dec 2004
Best way is to track them when you show them. If you mean if anybody else's
MessageBox is shown then there is no official way that I am aware of.

You could pinvoke findwindow with class dialog to find out if *any* msgbox
is shown on the device (in general not just over a specific form)... I gave
an example of this previously in the context of programmatically closing a
msgbox:
http://groups-beta.google.com/group/...79f7683a8709dc

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


"Rahul Sur" <(E-Mail Removed)> wrote in message
news:FE9F543C-0F9D-4425-A161-(E-Mail Removed)...
> Hi frnds,
>
> How can I programmatically know whether any messageBox is shown over a
> form
> in an application?
>
> Thanx,
> Rahul



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Message headers, attachments, and the message body may be lost in Outlook 2003 when you reply to an e-mail message that contains a References header that exceeds 1,000 bytes gbkhor Microsoft Outlook 0 4th Mar 2009 11:26 AM
Recv'g Message: Unknown message recipient(s); the message was not =?Utf-8?B?U2VuZCBPYmplY3QgQ29tbWFuZCAtIFR3byBhdHRh Microsoft Access Macros 0 29th Sep 2006 04:08 PM
"The system cannot find message text for message number 0x%1 in the message TimothyTrulis@gmail.com Windows XP Setup 0 9th Feb 2006 05:59 PM
Have message opened. Move message to a folder. Message Closes! =?Utf-8?B?c2h3aWc=?= Microsoft Outlook Discussion 1 16th Jan 2005 02:43 AM
Office XP- OUTLOOK: Format toolbar is inactive. Cannot select font, color, underline, italic, etc. This occurs in new message, forward message amd reply message. Tools, Options, Customize, selections do not change the status in the messages. Hel =?Utf-8?B?V01E?= Microsoft Outlook 3 21st Feb 2004 06:56 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:41 PM.