TAILIEUCHUNG - C++ Programming for Games Module II phần 4

Tham khảo tài liệu 'c++ programming for games module ii phần 4', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | MB_OKCANCEL Instructs the message box to display an OK and CANCEL button. Figure The MB_OKCANCEL message box style. MB_YESNO Instructs the message box to display a YES and NO button. Figure The MB_YESNO message box style. MB_YESNOCANCEL Instructs the message box to display a YES NO and CANCEL button. Figure The YESNOCANCEL message box style. Finally the message box s return value depends on which button the user pressed here is an abridged list of return values see the Win32 documentation for more details IDOK The user pressed the OK button. IDCANCEL The user pressed the CANCEL button. IDYES The user pressed the YES button. IDNO The user pressed the NO button. You can test which value was returned using an if statement and thus determine which button the user selected and then take appropriate action. Note Many of the Win32 functions will have different style flags or values that enable you to customize various things. However because there are so many different flags for the different API functions we cannot cover all of them in this text. Therefore it is important that you learn to use the Win32 documentation to obtain further info on a Win32 function or type. The documentation is typically included in the help file of Visual C . For example in Visual C .NET you would go to the Menu- Help- Index Figure . 100 Figure Launching the documentation index. The index help should then open to the right of the interface. Enter the function of type you would like more information on as Figure shows we search for MessageBox. Figure Searching for the MessageBox documentation. 101 Finally selecting double click on the found MessageBox entry gives us several subcategories more information can be found Figure Selecting the MessageBox documentation for the Win32 API. Here we want to select the Windows User Interface Platform SDK this is essentially the Win32 API documentation guide. So selecting that yields the complete documentation for .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.