PVDynamic_MenuBarSize (lParam.l)
Use this function in a CallBack to Dynamically Size the MenuBarIcons
This is automatically created by PureVision when an Event Loop is exported.
Example:
Procedure WindowCallback(WindowID,Message,wParam,lParam)
ReturnValue=#PB_ProcessPureBasicEvents
If Message=#WM_MEASUREITEM
ReturnValue=PVDynamic_MenuBarSize(WindowID,lParam)
EndIf
If Message=#WM_DRAWITEM
ReturnValue=PVDynamic_MenuBar(lParam,-1,-1)
ProcedureReturn ReturnValue
EndProcedure