Re: Creating Property Pages using CreateIndirect
- From: "Computer" <chollan2@xxxxxxxxxx>
- Date: Thu, 3 Nov 2005 16:57:23 -0800
This might help,
Maybe use DLGTEMPLATEEX instead?
I was looking at DLGTEMPLATEEX and DLGITEMTEMPLATEEX and noticed the
similarity between Titles.
Title
Specifies a variable-length array of 16-bit elements that contains the
initial text or resource identifier of the control. If the first element of
this array is 0xFFFF, the array has one additional element that specifies
the ordinal value of a resource, such as an icon, in an executable file. You
can use a resource identifier for controls, such as static icon controls,
that load and display an icon or other resource rather than text.
If the first element is any value other than 0xFFFF, the system treats the
array as a null-terminated Unicode string that specifies the initial text.
Title
Specifies a null-terminated Unicode string that contains the title of the
dialog box. If the first element of this array is 0x0000, the dialog box has
no title and the array has no other elements.
Good Luck,
"shida" <atifhashmi@xxxxxxxxx> wrote in message
news:1131037450.656068.140160@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Dear All,
>
> I am trying to create property pages dynamically without using the
> wizard. I have created a dialog using the DLGTEMPLATE structure and
> sent it to the createindirect function which creates a dialog for me.
> Th eonly problem is that I havenot been able to figure out how to
> assign a resource ID to the dialog that I create.
>
> Once I have the resource ID, I can pass it to a class derived from a
> property page and create a property page.
>
> Could Anybody help me out in this situation.
>
> Thanks and Regards,
> Atif Gul Hashmi
>
.
- Prev by Date: Re: Why won't this work?
- Next by Date: ptinrect()
- Previous by thread: Custom drawn list view and variable list items height ... is it possible?
- Next by thread: Re: Creating Property Pages using CreateIndirect
- Index(es):
Relevant Pages
|