child window
Blitz3D Forums/Blitz3D Beginners Area/child window
| ||
Maybe is this not the right topic here. I am working on a program that need to open a child window. How does it works in Blitz3D so i can draw in that child window. My program is setup to work as a window. I am now on a point that i need the child window to make settings for the program. Color settings, font settings and file location. |
| ||
You could use winblitz3d, this enables direct access to the windows api for creating windows\gadgets. Color requester, font requester and file requester are all available. kev |
| ||
Thats my problem i want to do it by using the API call directly. So i do not have to use another DLL. Only the DLL that is already in the system. |
| ||
I am now on a point that i need the child window to make settings for the program. Color settings, font settings and file location. Instead of a child window... create a 2d quad. |
| ||
What i want to do is actualy opening the color windows that is the same as in paint. Is there a API call dor in the DLL files and how do i do that. |
| ||
You could get a color dialog using ChooseColorA in comdlg32.dll. However, you need to pass a struct to it, i mean a set of parameters via bank, so it might not be easy. Here is how you do this in VB: http://vbnet.mvps.org/index.html?code/comdlg/choosecolor.htm |
| ||
Thanks for the tip.I look at the file and try to find out how to pass the struct. Come back later if i find the solution. |