sel message ,caseWM_INITDIALOG ,int h=CreateControl(0"ActiveX""SHDocVw.WebBrowser"000400200 hWnd 100) ,_s=""; _s.setwintext(h);;opens blank page. Instead of "" you also can pass an url or HTML. Or open web page using Navigate (see below). , ,;SHDocVw.WebBrowser b._getcontrol(h) ,;b.Navigate("http://www.google.com") , ,goto g1 ,caseWM_SIZE ,;g1 ,h=id(100 hWnd);if(!h)ret ,RECT r;GetClientRect(hWnd &r) ,MoveWindow h 00 r.right r.bottom-201 ,h=id(9999 hWnd) ,MoveWindow h 0 r.bottom-20 r.right 201 ,ret1 , ,caseWM_DESTROY ,
I made a Resize(siz x y) on every Window so the window machtes the content. Problem is that the window resizes from the top left and so I can't really put it on se bottom of windows. Is there a possibility to change it to bottom left? So siz expands upwards?
Edit:
Hmm "/mov" as initial uses the bottom left corner, but "mov 0 0" in the bar uses the top left..so I can't just use
"move 0 0" after every resize :/