Hi!
How do I code a borderless treegadget and a borderless listicongadget?
-- 
Greetings, Martin.
			
			
									
									
						Treegadget and listicongadget borderless?
A Windows only method is to remove the #WS_EX_CLIENTEDGE from the gadget exstyle.
Take a look at this post for more info. It removes the border from an EditorGadget but you can apply it to other gadgets as well. 
			
			
									
									Code: Select all
style = GetWindowLong_(GadgetID(Gadget#), #GWL_EXSTYLE) 
    newstyle = style &(~#WS_EX_CLIENTEDGE) 
    SetWindowLong_(GadgetID(Gadget#), #GWL_EXSTYLE, newstyle) 
    SetWindowPos_(GadgetID(Gadget#), 0, 0, 0, 0, 0, #SWP_SHOWWINDOW | #SWP_NOSIZE | #SWP_NOMOVE | #SWP_FRAMECHANGED)What goes around comes around.
PB 5.21 LTS (x86) - Windows 8.1
						PB 5.21 LTS (x86) - Windows 8.1

