Jump to content

WARhead

Members
  • Posts

    1
  • Joined

  • Last visited

WARhead's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Use this wchar_t* wide; wide = new wchar_t [<size>] // <size> is whatever size you want; for(long i = 0 ;i < <size> ; ++i ) wide[i] = <char_message> [i]; //<char_message> is whatever message you have in char* int returnValue = MessageBox( <handle to owner window>, wide, <title>, <Type> ) //<title> is also of type LPCTSTR and sholud be done same as in wide //<Type> is the traits of the message box you want refer https://msdn.microsoft.com/en-us/library/windows/desktop/ms645505(v=vs.85).aspx
×
×
  • Create New...