View Single Post
Old 29 March 2020, 17:06   #2
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 460
Well, not really complicated. You first create an appWindow:
Code:
appWindow = AddAppWindow(APP_WINDOW_ID,NULL,window,appPort,TAG_DONE)
and within this appWindow, you create one or multiple appZones:
Code:
sourceZone       = AddAppWindowDropZone(appWindow,ZONE_SOURCE_ID,NULL,
					  WBDZA_Left  ,ng.ng_LeftEdge,
					  WBDZA_Top   ,ng.ng_TopEdge,
					  WBDZA_Width ,ng.ng_Width,
					  WBDZA_Height,ng.ng_Height,
					  TAG_DONE);
here it is taking coordinates from a newgadget structure, but this is just an implementation choice.

Warning, Dopus does not support appZones correctly.
Thomas Richter is offline  
 
Page generated in 0.04724 seconds with 11 queries