|
|
#1 |
|
Junior Member
Join Date: Apr 2009
Posts: 10
|
MessageDlg function
Found a strange error using this with d2009 + TEmbeddedWB.
Steps to reproduce:
The error does away if TEmbeddedWB is deleted. Pete |
|
|
|
|
|
#2 |
|
Main Developer
Join Date: May 2006
Posts: 937
|
Change the code in EmbeddedWB.pas:
Code:
if ((DlgClss = '#32770') or (DlgClss = 'Internet Explorer_TridentDlgFrame')) and
(GetWinClass(Windows.GetParent(PopHandle)) <> 'TApplication') then
Code:
DlgClss := GetWinClass(PopHandle);
if (DlgClss = 'Internet Explorer_TridentDlgFrame') or ((DlgClss = '#32770') and
((GetWinClass(Windows.GetParent(PopHandle)) <> 'TApplication') and
(FindControl(Windows.GetParent(PopHandle)) = nil))) then
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Apr 2009
Posts: 10
|
Thanks for that. It seems to have fixed the error
Pete |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|