On Tue, 21 Oct 2003 14:50:17 -0400 (EDT) Richard Welty <[EMAIL PROTECTED]> wrote:
RW> On Tue, 21 Oct 2003 13:41:32 +0200 (Romance Daylight Time) Vadim Zeitlin <[EMAIL PROTECTED]> wrote: RW> > If you want to make a dialog for options editing (which has "Apply" button RW> > as well) the things get slightly more complicated but for the simple cases, RW> > TransferDataFromWindow() is all you need. RW> RW> i will need an apply button; Are you sure about it? Apply button is for something which can be undone, you probably won't be able to undo moving the messages without quite some work. RW> where in the source is an example of good code for this purpose? The apply button support is done inside wxOptionsEditDialog. Currently it is intertwined with the notebook handling slightly but it shouldn't be difficult to extract just the apply-handlign part, it is mainly in OnOk/OnApply/OnCancel() and DoApply() methods. RW> also, where is a good online C++ reference? There is no such thing AFAIK. Or, rather, you may find a reference, but is this really what you're looking for? I think something like Meyers books ("Effective ...") would be much more useful. I also like Stroustrup's book but YMMV. As a reference for the standard library you probably won't find anything better than Josuttis. Then there are "advanced" C++ books but I don't think they're really *needed*, although at least Alexandrescu's one is interesting to read and Josuttis/Vandervoord template book is very informative and almost certainly contains stuff you didn't know. The sad thing is that all of those books are expensive... So even though they're definitely worth having, a much cheaper alternative for me was to take them on load in a library. For most of them it's enough to read them once. Stroustrup is the only one I couldn't live without. Regards, 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