A longshot but are you calling MessageDlg prior to calling
application.run in the dpr?

 

Cameron Hart Development Manager 

        Flow Software Limited 

 

                 

        PO Box 305-237, Triton Plaza 

P 

+64 9 476 3579 

        Auckland 0757, New Zealand 

M 

+64 21 222 3569 

        www.flowsoftware.co.nz <http://www.flowsoftware.co.nz> 

E 

[email protected] <mailto:[email protected]>


 

This message is intended for the addressee named above. It may contain
privileged or confidential information. If you are not the intended
recipient of this message you must not use, copy, distribute or disclose
it to anyone. 

  P Please consider the environment before printing this email 

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Stephen Barker
Sent: Wednesday, 20 January 2010 11:16 a.m.
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] windows 7 and messagedlg

 

Hi,

 

I have a report from a Windows 7 user that a message from my app does
not show unless XP compatibility mode is selected.

 

The code that should fire is:

 

  messagedlg(msg, mtCustom, [mbOk], 0);

It is being ignored when run under normal Windows 7 default mode.

 

Any ideas?

 

I don't use Windows 7 here yet, but it looks like I may have to set up a
test environment. Actually I just have done a quick test using a simple
Delphi exe on Win 7 and it works fine. Must be something else in my app
that is causing the messagedlg to be suppressed. I guess I'll have to
set up a full Delphi 2007 install with components on Win 7 and debug
this properly.

 

Regards,

Steve Barker
Webdata Ltd
ph +64 9 4103074 

 

<<image001.jpg>>

<<image002.jpg>>

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with Subject: 
unsubscribe

Reply via email to