MessageBox_(hWnd, " Can't create main window.", " ", #MB_ICONERROR) MessageBox_(hWnd, " Can't register main window class.", " ", #MB_ICONERROR) WindowClass.s = " WndClass1" Initialize Window Class If you want to use in GUI not only latin characters, compile it in Unicode! Warning: exe size - it's very, very small!ĭeclare.l WndProc(hWnd, Msg, wParam, lParam) declare Window events callback Global vars Way 1 - Standard cross-platform GUI library Backhanded way, depends on the quality of libraries. Using third-party GUI libraries based on 1, 2, 4 way or combining few ways.NET :) Prefered way for game and 3D graphics development. It's using 3D engine to draw game-like GUI and a bit like WPF in Microsoft. Using PB's standard cross-platform 3D GUI library.Combining PB's standard cross-platform GUI library and OS API if it needed.For example, WinAPI allows you to create extemelly small executables, sometimes gives access to special features OS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |