What is the proper way to end a program where an error is detected
with system data in the Init or InitDialog methods?  I define some
fonts in the InitDialog method and then delete them in the Cancel
method.  If on the detected error condition, I invoke the cancel method
after presenting an error message, I get an invalid argument on the
DeleteFont() request.  Also, if I have a method defined to get
control from a ConnectPosChanged() request, that also gives me
an error on the dialog requests dealing with changed Edit control
elements.  These items do not give an error if I do not attempt
to call the Cancel method before the Init or InitDialog methods have
returned.

--
  Art Heimsoth 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to