News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

DLGINIT

Started by czerny, September 09, 2014, 05:01:07 PM

Previous topic - Next topic

czerny

PORC seems not to know the resource typ DLGINIT.
Can someone say anything about this resource typ?
How can it be simulated with user defined resource?

frankie

DLGINIT is a pseudoresource used for initialization of ActiveX controls with MFC and ATL in C++ (or other object oriented languages).
It is handled dynamically in the MFC high level dialog classes. For a description see here.
A definition of the DLGINIT structure can be found in 'atlhost.h'.
I don't understood which use you want do in C, but it should be possible to create a fake DLGINIT using a custom resource and the layout and values showed in atlhost.h
"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide