NO

Author Topic: DLGINIT  (Read 3477 times)

czerny

  • Guest
DLGINIT
« on: September 09, 2014, 05:01:07 PM »
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?

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2113
Re: DLGINIT
« Reply #1 on: September 09, 2014, 05:59:46 PM »
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