4 code/command questions

BlitzMax Forums/BlitzMax Programming/4 code/command questions

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Ok, I am making some progress now.

Appterminate() works - I knew it was something easy like that! Now the app/process doesn't appear in the task menu after clicking the'X' - this is good. I may have to experiment with event trapping to terminate the app the way I want though.

Jim Browns code works great! 3 lines of code and I am launching other apps!

The window centering I am still working on. I am just creating a default window with the graphics() command (graphics 640,480,0,60) Should I create a window? I was looking at the code from the posts above, what do I with hWnd parameter? I know its a window handle, I just need to know what to do with it.

The icon issue, I know how to create app icons via mingw and linking in object files. I just have trouble getting it to appear on the window itself. So I'll keep trying code from the above posts.