Just a curious thought--
Why is the Listbox_SetSel macro have parameters in a different order than MS's documentation?
My commctrl.inc has
#IF %DEF(%USEMACROS)
MACRO Listbox_SetSel (hListBox, fSelect, index) = SendMessage(hListBox, %LB_SETSEL, fSelect, index)
#ELSE
FUNCTION Listbox_SetSel (BYVAL hListBox AS DWORD, BYVAL fSelect AS LONG, _
BYVAL index AS LONG) AS LONG
FUNCTION = SendMessage(hListBox, %LB_SETSEL, fSelect, index)
END FUNCTION
#ENDIF
http://msdn.microsoft.com/en-us/libr...59(VS.85).aspx has
int ListBox_SetSel(
HWND hwndCtl,
int index,
BOOL fSelect
);
This is no big deal; I am just wondering why this is.
Any thoughts?
Why is the Listbox_SetSel macro have parameters in a different order than MS's documentation?
My commctrl.inc has
#IF %DEF(%USEMACROS)
MACRO Listbox_SetSel (hListBox, fSelect, index) = SendMessage(hListBox, %LB_SETSEL, fSelect, index)
#ELSE
FUNCTION Listbox_SetSel (BYVAL hListBox AS DWORD, BYVAL fSelect AS LONG, _
BYVAL index AS LONG) AS LONG
FUNCTION = SendMessage(hListBox, %LB_SETSEL, fSelect, index)
END FUNCTION
#ENDIF
http://msdn.microsoft.com/en-us/libr...59(VS.85).aspx has
int ListBox_SetSel(
HWND hwndCtl,
int index,
BOOL fSelect
);
This is no big deal; I am just wondering why this is.

Any thoughts?
Comment