Bodo Wenzel wrote:

> > Using string resources for each alert would mean calling
> > DmGetResource and MemHandleLock/Unlock whenever I call
> > FrmCustomAlert.

> If you use SysStringByIndex, you don't need any locking; see below.

SysStringByIndex works for string lists, not string resources.

But in any case, avoiding alert resources complicates the choice of icon, 
number of buttons, button texts and default buttons. AFAIK, there's no way to 
pass this info to an alert API other than through an alert resource.


Luc Le Blanc
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to