int show_message_ext(string msg, string but1, string but2, string but3) { gs_cap = window_get_caption(); gs_message = msg; gs_but1 = but1; gs_but2 = but2; gs_but3 = but3; return DialogBox(enigma::hInstance,"showmessageext",enigma::hWnd,ShowMessageExtProc); }
bool show_question(string str) { if(MessageBox(enigma::hWnd, str.c_str(), window_get_caption().c_str(), MB_YESNO) == IDYES) { return true; } return false; }
int show_message(string str) { MessageBox(enigma::hWnd, str.c_str(), window_get_caption().c_str(), MB_OK); return 0; }
inline void window::get_caption(wchar_t* buffer, unsigned buffer_length) { window_get_caption(hwnd, buffer, buffer_length); }