I have some problems making messageboxes the way I want to.. If I just put the code
MessageBox(hwnd, sometext, caption, NULL) it workes, but when I try specifying buttons with MessageBoxButton it does't work. Does anyone know what the problem might be? Do I need to include something to be able to make it work?
It didn't work when I tried to do it this way
MessageBoxButton button = MessageBoxButton.YesNoCancel;
MessageBox.Show(messageBoxText, caption, button, icon);
but MessageBox(hwnd, sometext, caption, MB_OK); worked so thank you!
(I'm quite new to this gui thing, so I might have a lot of stupid questions=P)