InitCommonControls and comctl32.dll

Posted By: pararealist

InitCommonControls and comctl32.dll - 10/29/07 09:53

QUESTION:
Should all the InitCommonControls functions work in A7/Lite-C?

I know it is a big job getting all functions, #defines and structs needed into acknex windows.h, but i want to ask IF THIS IS PLANNED to implement it fully?
This would be fine indeed, not so much needed for games
more for applications
but since A7 and Lite-C are now and future C++ based
it seems logical that they will be properly implemented?
//
Or are we not going to be able to access the COOLCLASSES and other fine stuff in CommonControls?

DLLs are such a pain.

PLEASE reply and let me know.
Thanks.
Posted By: yorisimo

Re: InitCommonControls and comctl32.dll - 10/29/07 14:18

I have questions about the common controls as well. I got a few things working (trackbar, updown buttons), but I had to make my own header with all the defines from comctrl.h. However, my question is about getting the XP look and feel to common controls by using the comctrl32.dll version 6.0.0.0. I posted my question in "Ask Conitec"

Nevermind. I got this to work using an external manifest (see linked post)
Posted By: Joey

Re: InitCommonControls and comctl32.dll - 10/29/07 15:31

do you have controls inside of the acknex window? the scrollbar, for example? is it visible on top of the rendered 3d world, and does it work in fullscreen mode?
Posted By: yorisimo

Re: InitCommonControls and comctl32.dll - 10/29/07 17:11

I've only put controls inside their own windows (to make dialog type boxes, with text input or sliders). I tried putting a button in the acknex window and it wasn't visible, except when the acknex window wasn't active, (e.g. when i dragged other windows past the acknex window, the button would show up before the acknex window would refresh. I'm not sure why the common controls are being hidden by the acknex window otherwise). I didn't load a level; just had the screencolor set to gray. I've avoided using fullscreen mode because I like using message boxes that popup infront of the window, so I don't know what it does in that mode.
Posted By: Joey

Re: InitCommonControls and comctl32.dll - 10/29/07 19:02

exactly what i discovered. frankly i must come to the conclusion that it's not possible to embed windows controls inside the acknex window. i've searched for months and haven't found a solution.

that's... unbelievably sucking.
Posted By: pararealist

Re: InitCommonControls and comctl32.dll - 11/20/07 01:53

I am using my own comctl32 header too. It is tiring work, but
enlightening, sometimes.

Everything works except i can't get the newer type toolbars etc winxp like, and certain other controls, but i guess you solved the problem.

The two different comctl32.dll version 6 and version 5.8 must be it.

I am using SED to program, as far as i can see there is no way of using a manifest ??? only with Visual C++ or? If there is please let me know.

screenshot of toolbar with level working and menus.
http://pararealist.pa.funpic.de/gs.html
Posted By: yorisimo

Re: InitCommonControls and comctl32.dll - 01/15/08 15:07

using the manifest you only see the result once its published. All you do is make a text file with the same name as your executable and put .manifest after it "mygame.exe.manifest". In the text file put in the manifest code.
Posted By: DebraSteed

Re: InitCommonControls and comctl32.dll - 02/15/20 07:36

Nevermind if you still have an error then here is a fix for Comctl32.dll missing file error. Firstly you need to run a virus scan and then the error can be solved by running a system restore. For the detailed methods find the below link helpful which I found online


Fix Comctl32.dll missing file
© 2024 lite-C Forums