Skip to content
Low-level programming · Higher-level thinking
Login Register
Forum / Requests and Feedback

Message Box return flags

A community discussion post from the original code:zIRON forum.

Molotov member
Posts
49
Threads
21
Location
Behind Keyboard

Message Box return flags

Couldn´t find these in the includefiles so i collected them from msdn :)

enum MESSAGEBOX_RETURN_FLAGS: DWord {
	IDABORT = 3,
	IDCANCEL = 2,
	IDCONTINUE = 11,
	IDIGNORE = 5,
	IDNO = 7,
	IDOK = 1,
	IDRETRY = 4,
	IDTRYAGAIN = 10,
	IDYES = 6
}

"Lerning new things is what life is all about, if you are always doing the same old things day in and day out you might aswell just kill yourself." - ME d^_^b

Replies

Colin admin
Posts
928
Threads
49
Location
Bulgaria

thanks, i've changed them a little to match the MB_ consts and put them into user32

enum MB_RETURN_FLAGS: DWord {
	ID_OK = 1,
	ID_CANCEL = 2,
	ID_ABORT = 3,
	ID_RETRY = 4,
	ID_IGNORE = 5,
	ID_YES = 6,
	ID_NO = 7,

	ID_TRYAGAIN = 10,
	ID_CONTINUE = 11
}
Molotov member
Posts
49
Threads
21
Location
Behind Keyboard

Ah ok.. but that would make the msdn win32 refrence useless for ziron win32, just thinking out loud.

Would mean that Ziron will need it´s own flag reference pages for win32 later. :)

"Lerning new things is what life is all about, if you are always doing the same old things day in and day out you might aswell just kill yourself." - ME d^_^b

Colin admin
Posts
928
Threads
49
Location
Bulgaria

are they existent in msdn as IDOK? hmm well will change them back :)

Molotov member
Posts
49
Threads
21
Location
Behind Keyboard

Yeah, i took the name as they were there.. i always do..

"Lerning new things is what life is all about, if you are always doing the same old things day in and day out you might aswell just kill yourself." - ME d^_^b