Hi Vidar, thanks for the prompt help.
Hi Vidar, With moving to owlnext 6.44 I start to change the Doc/Veiw notification messages, and got the following problem: For example, I change vnMarkChanged notification that should call next method of the TWindowView derived class: bool VnMarkChanged( Mark* m ); When I use sуparate decode function template, as below, it works. template <class T,="" bool="" (T::*M)(Mark*)=""> owl::TResult DecodeVnMarkChanged(void i, owl::TParam1, owl::TParam2 p2) { return (static_cast<T*>(i)->M)(reinterpret_cast<Mark*>(p2))...
Hi Vidar, Thanks a lot.
Hi all, Currently I use owlnext 6.44, VS 2015 Question about new dispatch solution. How to use inherited methods in the new dispatcher? For example, I have code like this, which was valid before : class TDlgText: public owl::TDialog { public: ... virtual void CmClear() {...} virtual void EvDestroy() {...} DECLARE_RESPONSE_TABLE(TDlgText); }; //--- class TByFormulaDlg: public TDlgText { ... DECLARE_RESPONSE_TABLE(TByFormulaDlg); }; //--- DEFINE_RESPONSE_TABLE1(TByFormulaDlg, TDlgText) ... EV_COMMAND(...
Thanks Vidar, I've sent report.
The TDocTemplate class methods declared in doctpl.h, but not implemented
Hi Vidar, thanks for your response. I was wrong, TDocManager::CreateAnyDoc(0,0) opens Explorer-style dialog always. SetAdditionalFileDialogFlags(OFN_EXPLORER | OFN_ENABLESIZING) makes it resizeble ( top picture in the attached file). While Win API function GetOpenFileName(&ofn) opens another kind of this dialog, which led me astray (bottom picture). By the way, TDocTemplate :: SetDefaultExt (char const) is declared in doctpl.h, but does not exist ( OWLNext 6.36). error LNK2019: unresolved external...
Hi Vidar, Currently I use OWLNext 6.36 and VS 2015. Could you please advise how to force the TDocManager::CreateAnyDoc(0,0) to open the Open/Save dialog in Explorer-style (for example, when choose File->Open menu item). Using of the SetAdditionalFileDialogFlags(OFN_EXPLORER | OFN_ENABLESIZING) before :CreateAnyDoc(0,0) doesn't help. It only changes the old-style dialog box to resizeble. Thanks. Ivan Stepanov