RE: Dialog problems
Thanks for all who pointed me in the right direction - my modal dialog is
now up and running.
Now I'd like to set its position with SetDialogPosition but can't see where
to call it. I gather I can't set it until it's displayed but then because
it's modal it's too late!
Do I have to override the ShowModalDialog function?
Current code snippet follows ...
int myModalDialog::myAction(char* msg,char* searchfor)
{
ItemVal ans,rval;
ans = ShowModalDialog(msg,rval);
// *** Add code to process dialog values here
(void)GetTextIn(txiSearchFor, searchfor, 40);
return rval;
}
Thanks again in anticipation
Dan Osborne
Specialist Business Solutions Ltd.
Reply to: