|
From: Arzt, U. <ma...@uw...> - 2006-03-09 19:17:41
|
Hi,
modal_dialog_interface does not compile with error:
error C2660: 'adobe::handle_dialog' : function does not take 7 arguments
i have added a working_directory to the call of handle dialog inside
do_test
[snip]
boost::filesystem::path workingpath;
adobe::dialog_result_t result =3D
handle_dialog( input,
record,
display_state,
adobe::dialog_display_s,
eve_stream,
adam_stream,
&always_true,
workingpath);
then i get an assert in
\adobe\future\widgets\sources\win32\ui_core_implementation.cpp at
void set_font(HWND window, int uxtheme_type, const WCHAR* theme_name)
{
LOGFONTW log_font =3D { 0 };
HFONT font =3D 0;
//
// Use the metrics to obtain the correct font for this widget.
//
if(!theme_name)
metrics_t::get_instance().set_window(window);
else
metrics_t::get_instance().set_theme_name(theme_name);
if (metrics_t::get_instance().get_font(uxtheme_type, log_font))
{
//
// Create a font from the LOGFONT structure.
//
font =3D ::CreateFontIndirectW(&log_font);
}
assert(font);
[snip]
What i am doing wrong? Are the examples working in principle?=20
Thanks Uwe
--=20
ma...@uw...
www.uwe-arzt.de
|