ListIcon Notification Message -121 ?
Posted: Sun Oct 22, 2006 5:16 pm
Anyone knows the proper name of this message? It is send when you move the mouse over an ListIcon gadget. I checked all the values of the messages listed in the API docs but none matches the number -121.
Try this to see what I mean:
Try this to see what I mean:
Code: Select all
OpenWindow(0,0,0,400,300,"untitled",#WS_OVERLAPPEDWINDOW | 1)
CreateGadgetList(WindowID(0))
ListIconGadget(0,5,5,390,290,"Name",350)
Procedure WindowCallback(hWnd.l,uMsg.l,wParam.l,lParam.l)
If uMsg = #WM_NOTIFY
*pnmh.NMHDR = lParam
If *pnmh\hWndFrom = GadgetID(0) : Debug *pnmh\code : EndIf
EndIf
ProcedureReturn #PB_ProcessPureBasicEvents
EndProcedure
SetWindowCallback(@WindowCallback())
While WaitWindowEvent() ! 16 : Wend