On Tue, 21 Oct 2003 21:41:38 -0400 (EDT) Richard Welty <[EMAIL PROTECTED]> wrote:
RW> ok, i missed the distinction -- so it's ok to stick the code apply the filters RW> in TransferDataToWindow? No, this one is only called when "Ok" is pressed... Let me try to explain it more clearly: the button on the screen can have any caption you like, from "Ok" to "Apply" to "Do it, damn it!". What matters is not the caption but the id. If it is wxID_OK, then this is the "Ok" button, even if it says "Cancel" on it. Apply is the one with wxID_APPLY I let you guess about the "Cancel" one. If you have "Apply" button, you have at least 3 buttons in all because you should have Cancel and Ok too. I think that you need only 2 buttons in your dialog so all these complications are irrelevant. HTH, VZ ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers