Do you have a ^1 and ^2 and ^3 in your Alert?  If not then you should do
FrmCustomAlert(NameAlert, FullName, NULL, NULL);

Zoltan

> -----Original Message-----
> From: Jeffrey Pahren [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 12, 2000 7:35 AM
> To: [EMAIL PROTECTED]
> Subject: Re: FrmCustomAlert causes crash
> 
> 
> 
> I've worked a little more on this problem, and found that the error is
> related to the font being used!  Why? I don't know!
> 
> So, my app crashes with the following code:
> 
>     FullName = (a 200-char string)
>     FntSetFont(stdFont);
>     FrmCustomAlert(NameAlert, FullName, " ", " ");
> 
> but seems to work fine with the following:
> 
>     FullName = (a 200-char string)
>     FntSetFont(largeFont);
>     FrmCustomAlert(NameAlert, FullName, " ", " ");
> 
> Anybody have any insight?
> 
> 
> -Jeff Pahren
> 

Reply via email to