|
Post by Darkjester on Mar 19, 2009 20:24:29 GMT -5
How can i return the basic4gl window interface to make multiple windows? Or perhaps just create another window with gl capability in a plugin? I have tried about 3 iterations of code and even tried to implement an actual gl window specificially for gl usage(as shown in the first nehe) nothing works
-darkjester
|
|
|
Post by Darkjester on Mar 19, 2009 21:29:43 GMT -5
Also why am i getting tearing..?
void DLLFUNC Func_HideWindow(IDLL_Basic4GL_Runtime &basic4gl) { ShowWindow(hWin, basic4gl.GetIntParam(1)); }
void DLLFUNC Func_SizeWindow(IDLL_Basic4GL_Runtime &basic4gl) { SetWindowPos(hWin,NULL,0,0,basic4gl.GetIntParam(1),basic4gl.GetIntParam(2), basic4gl.GetIntParam(3)); UpdateWindow(hWin); } void DLLFUNC Func_MoveWindow(IDLL_Basic4GL_Runtime &basic4gl) { SetWindowPos(hWin,NULL,basic4gl.GetIntParam(1),basic4gl.GetIntParam(2),0,0, basic4gl.GetIntParam(3)); UpdateWindow(hWin); }
registry.RegisterVoidFunction ("HideWindow", Func_HideWindow); registry.AddParam (DLL_BASIC4GL_INT); //resize window registry.RegisterVoidFunction ("SizeWindow", Func_SizeWindow); registry.AddParam (DLL_BASIC4GL_INT); registry.AddParam (DLL_BASIC4GL_INT); registry.AddParam (DLL_BASIC4GL_INT); //Move window registry.RegisterVoidFunction ("MoveWindow", Func_MoveWindow); registry.AddParam (DLL_BASIC4GL_INT); registry.AddParam (DLL_BASIC4GL_INT); registry.AddParam (DLL_BASIC4GL_INT);
sry for hte dp
-darkjester
|
|
zack8686
Posts a bit
 
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Mar 19, 2009 22:12:03 GMT -5
darkjester , where can I find all those functions "ShowWindow... , SetWindowPos... UpdateWindow..." ?
|
|
|
Post by Darkjester on Mar 19, 2009 22:16:38 GMT -5
windows.h
|
|
|
Post by Darkjester on Mar 20, 2009 20:57:41 GMT -5
can noone help me with this problem?
|
|
|
Post by Darkjester on Mar 23, 2009 20:50:28 GMT -5
ok i tried to implement an entire window class winapi style, nothing, anybody got any ideas this is killing me, why is it such a bitch to make more than one basic4gl window? any ideas?
|
|
|
Post by smc44 on Mar 23, 2009 21:50:16 GMT -5
darkjester dude lol  , i told you i would help, you know its my best topic(WINAPI), ill do it tommorow(read the time on this message), ill make a whole tutotial on making a plugin for multiple basic4gl windows, just for you 
|
|
|
Post by Supermonkey on Mar 27, 2009 12:48:52 GMT -5
Overconfidence.... the bane of many young programmers 
|
|
|
Post by Darkjester on Mar 27, 2009 14:51:46 GMT -5
lol so true, thats why i ask questions  lolz
|
|